Game Engine. hardCORE series
Udemy course / C++
Patreon
Boosty
Telegram
YouTube
Search
Ctrl + K
04. C++ build process. Compiler optimizations
Optimizations
Inline
Constexpr
Struct packing
Branch prediction
MISC
Previous
Code
Next
Compiler commands
Last updated
13 days ago
Optimizations
Inline
Constexpr
Struct packing
Branch prediction
MISC
Optimize Options (Using the GNU Compiler Collection (GCC))
/O options (Optimize code)
MicrosoftLearn
optimize pragma
MicrosoftLearn
clang - the Clang C, C++, and Objective-C compiler — Clang 19.0.0git documentation
RVO and NRVO
PVS-Studio
Compilers - What Every Programmer Should Know About Compiler Optimizations
MicrosoftLearn
https://learn.microsoft.com/en-us/cpp/standard-library/iterator-debug-level?view=msvc-170
learn.microsoft.com
noinline
MicrosoftLearn
Inline Functions (C++)
MicrosoftLearn
Copy elision - cppreference.com
Inlining Decisions in Visual Studio - C++ Team Blog
C++ Team Blog
Standard C++
/constexpr (Control constexpr evaluation)
MicrosoftLearn
GitHub - tcbrindle/raytracer.hpp: Simple compile-time raytracer using C++17
GitHub
Design and evolution of constexpr in C++
PVS-Studio
The Lost Art of Structure Packing
Size, Alignment, and Memory Layout Insights for C++ Classes, Structs, and Unions - Visual Studio Blog
Visual Studio Blog
pack pragma
MicrosoftLearn
C++ attribute: likely, unlikely (since C++20) - cppreference.com
Branch Prediction - Fundamentals Every Programmer Need Not Know
Yet Another Technical Blog
`main` function and command-line arguments (C++)
MicrosoftLearn
Integer Limits
MicrosoftLearn
Translation units and linkage (C++)
MicrosoftLearn
Attributes in C++
MicrosoftLearn
Stirling's approximation
Wikipedia
MSVC hidden flags