r/cpp • • May 02 '26

Mathieu Ropert: The Performance Mindset

https://youtu.be/o-C6puc7nOk

Software performance doesn't happen by accident, nor can it be an afterthought.
This talk illustrates this idea through the story of a 2x performance patch for a game, made as a side project, by explaining not just what was done, but, more importantly, how and why it was possible to achieve in the first place.

48 Upvotes

10 comments sorted by

View all comments

Show parent comment

3

u/tialaramex May 03 '26

I agree this talk was not what I expected. I will also say that I think despite the author saying it's not really about games, it might land better at something like GDC because IMO there's a lot more stuff discussed that you could get away with at a video game studio but not a car manufacturer than there is stuff you could do in C++ but not in C#

2

u/mropert May 03 '26

I'm not sure what here is specific to an industry?

1

u/pjmlp May 04 '26

There are plenty of stuff we can do in C# like in C++, however most developers aren't even aware that is possible.

Via unsafe, more recent low level features in C#, explicit MSIL generation (a bit tedious), or if only Windows is relevant, reach out to C++/CLI (however this last one is of course "things you can do in C++"), which is easier than MSIL generation.