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

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.