C++ 20 Innovations: High-Performance Cross-Platform Architecture in C++
Talkat CppCon 2024 · on Thursday, 2024-09-19· at 15:15· Maple 3/4/5, 6700 North Gaylord Rockies Boulevard·
summary
Claims that C++20 concepts and constraints plus a disciplined inclusion layout and build-time tag let one codebase deliver both a portable common quaternion and per-ISA optimized variants (SSE/AVX, Neon, WebAssembly SIMD). Implementation uses expression templates, a single build macro to select platform headers, and per-feature headers so adding SSE2/SS3/AVX or Neon compiles only those files. A working prototype compiles everywhere, isolates platform changes, and yields ISA-specific speedups.
AI-written summary · about
chapters (10)
- 0:00Introduction and architecture
- 2:50The open-closed principle
- 7:09Platform and feature design
- 11:29Directory and header strategy
- 15:01Implementing feature modules
- 17:44Quaternion class implementation
- 25:01Optimizing for ARM Neon
- 29:01SSE and architecture revisions
- 32:46Function overloading resolution
- 37:10Advanced structural refactoring
related talks
01h 38mC++20: Reaching for the Aims of C++
01h 03mUnlocking the value of C++20
01h 00mC++20 - the hidden pearls
01h 02mC++20 - My Favorite Code Examples
01h 06mSIMD in C++20: eve of a new era
01h 05mThe Most Important Optimizations to Apply in Your C++ Programs
01h 30mC++ in Constrained Environments
02h 02mPeering forward: C++'s next decade
