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

YouTube

Template Meta-State Machines, Madness and Shannon

NDC Conferences via YouTube

Overview

Explore extreme micro-optimization techniques in C++ through an in-depth examination of template meta-state machines. Delve into the world of High-Frequency Trading (HFT) and discover the limits of performance optimization using extensive template meta-programming. Learn about the implementation of a custom "unordered_tuple" container, state encoding techniques, and a data-parallel perfect hashing algorithm. Examine the use of computed-GOTOs and the "constrained_override_type" for restoring type-safety. Analyze generated assembly code to understand the effectiveness of these optimization techniques and compare performance against simpler implementations. Gain insights into the challenges and limitations of extreme micro-optimization, including the impact of Shannon's Information Theory.

Syllabus

Template Meta-State Machines, Madness and Shannon - Jason McGuiness - NDC TechTown 2023

Taught by

NDC Conferences

Reviews

Start your review of Template Meta-State Machines, Madness and Shannon

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.