Explore advanced C++ optimization techniques for embedded systems in this conference talk from CppNow 2019. Dive into the world of manually generating optimal assembly at compile time, as Odin Holmes demonstrates how C++ metaprogramming can outperform traditional C implementations in resource-constrained environments. Learn about custom assembler-generating metaprograms that surpass industry-standard libraries in performance and safety. Discover the trade-offs between compiler optimization and library-space optimization for niche use cases on custom hardware. Examine a Domain-Specific Language (DSL) for ARM Cortex SoCs that offers both reasonable semantics and exceptional performance when interfacing with exotic hardware functionality. Gain insights into optimizing embedded systems, improving compiler utilization, and revolutionizing the embedded domain through advanced C++ techniques.
Overview
Syllabus
Intro
Meta Discussion
Slides
Concrete Problem
Block Diagram
Serial Port
WUF
Mixed Howls
Domain Specific Language
Basic Blocks
Supercast
Reading
Configuration
Optimizations
Startup
Traits
Hardware mock up
Taught by
CppNow