Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Hey C, This Is What Performance Looks Like - Manually Generating Optimal Assembly at Compile Time

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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

Reviews

Start your review of Hey C, This Is What Performance Looks Like - Manually Generating Optimal Assembly at Compile Time

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.