This document discusses techniques for writing high performance .NET Core 3.0 code. It covers new features like Span<T>, ValueTuple, and C# 8 async streams. It emphasizes that micro-optimizations are only needed for BCL, real-time apps, and graphics. Bottlenecks follow the Pareto principle. The document then discusses specific optimizations for a KTX file loader, including using stackalloc and unsafe code for pinned memory as well as custom collections and multithreading for OpenGL. It concludes by covering new MathF APIs, hardware intrinsics, and taking questions.
3. @jcant0n
Javier is a Computer Science Engineer who has always had a passion for
3D graphics and software architecture. His professional achievements
include being MVP for Windows DirectX and DirectX XNA for the last
nine years, Xbox Ambassador, as well as Microsoft Student Partner and
Microsoft Most Valuable Student during his years at college. Currently
he works at Plainconcepts as Research Team Lead.
Javier Cantón
Research Team Lead
15. Bottlenecks Rule
Pareto
20% of the code consume 80% of the resources
Pareto^2
4.0% of the code consume 64% of the resources
Pareto^3
0.8% of the code consume 51% of the resources