🕹️
Game Engine. hardCORE series
Udemy course / C++PatreonBoostyTelegramYouTube
  • 💻Lectures
    • 00. Promo
    • 01. What is game engine?
    • 02. C++ build process. Preprocessing
      • Preprocessor commands
      • Code
    • 03. C++ build process. Compilation Theory. Assembly
      • Compiler commands
      • Code
    • 04. C++ build process. Compiler optimizations
      • Compiler commands
      • Code
    • 05. C++ build process. Linker. Forward declaration
      • Compiler commands
      • Code
    • 06. C++ build process. Linker. Static and Dynamic libraries. PCH
      • Compiler commands
      • Code
      • Books
    • 07. СMAKE. Day1. Basics
      • CMAKE commands
      • Repository
    • 08. СMAKE. Day2. Libs
      • CMAKE commands
      • Repository
    • 09. Conan. C++ package manager
      • Conan commands
      • Repository
    • 10. Raylib. CMAKE additional topics
      • Repository
    • 11. Doodle Jump Game. Raylib. CMAKE pch and other topics
      • Repository
    • 12. Conan and CMAKE integration. Github workflows
      • Commands
      • Repository
    • 13. Engine. Layout
    • 14. Engine. Logging
    • 15. Engine. Window
    • 16. Engine. Window events. Input
  • Мои курсы
    • 🎮Unreal Engine — полное руководство по разработке на С++
    • 🧪Автоматизация и тестирование в Unreal Engine
    • 🔊Metasounds
    • 🏗️Design patterns
    • 🐍Snake game
    • 🧠OpenAI
  • LifeEXE сообщество
    • Ресурсы
Powered by GitBook
On this page
  • Optimizations
  • Inline
  • Constexpr
  • Struct packing
  • Branch prediction
  • MISC
  1. Lectures

04. C++ build process. Compiler optimizations

PreviousCodeNextCompiler commands

Last updated 10 months ago

Optimizations

Inline

Constexpr

Struct packing

Branch prediction

MISC

💻
Logo/O options (Optimize code)MicrosoftLearn
LogoOptimize Options (Using the GNU Compiler Collection (GCC))
Logoclang - the Clang C, C++, and Objective-C compiler — Clang 19.0.0git documentation
Logooptimize pragmaMicrosoftLearn
LogoRVO and NRVOPVS-Studio
LogoCompilers - What Every Programmer Should Know About Compiler OptimizationsMicrosoftLearn
Page cover image
LogoCopy elision - cppreference.com
https://learn.microsoft.com/en-us/cpp/standard-library/iterator-debug-level?view=msvc-170learn.microsoft.com
LogoInline Functions (C++)MicrosoftLearn
LogonoinlineMicrosoftLearn
LogoInlining Decisions in Visual Studio - C++ Team BlogC++ Team Blog
LogoStandard C++
Logo/constexpr (Control constexpr evaluation)MicrosoftLearn
LogoDesign and evolution of constexpr in C++PVS-Studio
LogoGitHub - tcbrindle/raytracer.hpp: Simple compile-time raytracer using C++17GitHub
The Lost Art of Structure Packing
LogoSize, Alignment, and Memory Layout Insights for C++ Classes, Structs, and Unions - Visual Studio BlogVisual Studio Blog
Logopack pragmaMicrosoftLearn
LogoC++ attribute: likely, unlikely (since C++20) - cppreference.com
Branch Prediction - Fundamentals Every Programmer Need Not KnowYet Another Technical Blog
Logo`main` function and command-line arguments (C++)MicrosoftLearn
LogoInteger LimitsMicrosoftLearn
LogoTranslation units and linkage (C++)MicrosoftLearn
MSVC hidden flags
LogoAttributes in C++MicrosoftLearn
LogoStirling's approximationWikipedia