Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024 @CppNow
Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024  @CppNow
Uploaded September 2024 | Updated December 2026, 3 hours ago
cppnow.org
---

A Case Study in Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024
---

We often hear about zero-cost abstractions in modern C++. What does that even mean? Why should we want that? How is it possible?

This presentation aims to answer these questions and more through a case study of a message dispatch library. The library uses compile-time programming to create an optimized algorithm for decoding messages and sending them to the appropriate component's message callback.

This is done so we can decouple components and their cross-cutting concerns. Components can register predicated message callbacks without needing to care about other components and their callbacks. The library has all the information it needs at compile-time to implement an efficient dispatching strategy. It is additionally able to provide useful logging information about messages received and messages that don't match any callback.

If you have any interest in high speed message processing, boolean algebra, constant-time lookup algorithms, compile-time programming, or bare metal firmware, please join me on this enlightening case study.
---

Slides: github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/High_Performance_Message_Dispatch.pdf


---

Luke Valenty

Luke started his career at Intel in 2008 as a hardware validation engineer developing tools to validate chip designs in simulation. He is currently a Principal Engineer at Intel specializing in system-on-chip power management and modern C++ for bare-metal firmware.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#boost #cpp #programming #cplusplus #cppprogramming
Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024Lightning Talk: Strongly Typed `using` C++ Declarations - Ali Almutawa Jr. - C++Now 2025Keynote: Reflection Is Only Half the Story - Barry Revzin - C++Now 2026Functional Composition Beyond Monads - Jonathan Müller - C++Now 2026Testability and C++ API Design - John Pavan, Lukas Zhao & Aram Chung - C++Now 2024Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024Keynote: Benchmarking - Its About Time - Matt Godbolt - C++Now 2026When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad AcharyaA Little Introduction to Control Flow Integrity in C++ - James McNellis - C++Now 2026Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure ConceptsReflection Is Good for C++ Code Health - Saksham Sharma - C++Now 2024Making A Program Faster - Multithreading & Automatic Compiler Vectorization - Ivica Bogosavljevic
CppNow |

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER