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