Uploaded October 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org
---
The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026
---
There is growing excitement around Reflection in C++26 and the promise of language-integrated code generation. While these features will be valuable, it often takes nearly a decade for new C++ standards to see widespread, production-grade adoption. But what can we do now? Many of us need robust solutions between now and 2036.
That is why C and C++ projects already rely heavily on code generation today. At Bloomberg, we routinely integrate code generation into C++ systems for use cases such as feature flag APIs, schema-driven transport layers, cross-language interop layers, and embedding data directly into applications.
These systems are large, long-lived, and built using existing tools — most notably CMake.
This talk focuses on how to integrate code generation cleanly and maintainably into a C++ project using CMake. We will look at patterns for treating code generators as first-class build dependencies, managing generated source code, integrating into packaging systems, supporting a great developer experience, and avoiding common pitfalls that lead to fragile build systems.
This talk covers principles for how generators, build systems, and code consumption need to cooperate. An open source reference project will also be shared to demonstrate these ideas concretely. Attendees will leave with tools, examples, and ideas they can adapt to their own projects today.
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Until_Reflection.pdf
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
---
Bret Brown
Bret likes making authoring and maintaining C++ codebases simpler and more intuitive by treating projects more like cattle and less like pets. He is especially interested in the software development lifecycle, development automation, modern build systems, packaging, code transformation, software governance, and code analysis.
Bret is currently an engineer in Bloomberg's developer experience department. He has worked in embedded C++ and safety critical C++ for previous employers.
---
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
Video Sponsors: Bloomberg
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk
https://www.cppnow.org
---
The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026
---
There is growing excitement around Reflection in C++26 and the promise of language-integrated code generation. While these features will be valuable, it often takes nearly a decade for new C++ standards to see widespread, production-grade adoption. But what can we do now? Many of us need robust solutions between now and 2036.
That is why C and C++ projects already rely heavily on code generation today. At Bloomberg, we routinely integrate code generation into C++ systems for use cases such as feature flag APIs, schema-driven transport layers, cross-language interop layers, and embedding data directly into applications.
These systems are large, long-lived, and built using existing tools — most notably CMake.
This talk focuses on how to integrate code generation cleanly and maintainably into a C++ project using CMake. We will look at patterns for treating code generators as first-class build dependencies, managing generated source code, integrating into packaging systems, supporting a great developer experience, and avoiding common pitfalls that lead to fragile build systems.
This talk covers principles for how generators, build systems, and code consumption need to cooperate. An open source reference project will also be shared to demonstrate these ideas concretely. Attendees will leave with tools, examples, and ideas they can adapt to their own projects today.
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Until_Reflection.pdf
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
---
Bret Brown
Bret likes making authoring and maintaining C++ codebases simpler and more intuitive by treating projects more like cattle and less like pets. He is especially interested in the software development lifecycle, development automation, modern build systems, packaging, code transformation, software governance, and code analysis.
Bret is currently an engineer in Bloomberg's developer experience department. He has worked in embedded C++ and safety critical C++ for previous employers.
---
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
Video Sponsors: Bloomberg
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk


![Coinductive Types in C++ Senders - Building Streams out of Hot Air - Steve Downey - C++Now 2025
https://www.cppnow.org
Coinductive Types in C++ Senders - Building Streams out of Hot Air - Steve Downey - C++Now 2025
Building sender streams out of senders
Were going to build an async stream and queue out of nothing but senders. For purposes of this talk, a stream is an infinite collection where you can only get the head element and the rest of the stream.
Along the way, well take a look at the last 80 years of computer science, including some current areas of active research.
Having a better idea of how senders and functions like them are grounded in theory gives us a better idea of how they can be used and where to look to borrow designs and insights.
We dont just borrow [syntax]; on occasion, [C++] has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new [semantics].
(with apologies to) James D. Nicoll
Im going to show you even a more horrible thing, a definition of CONS in terms of nothing but air, hot air.
Gerald Jay Sussman, Computational Objects
In C++, P2300 Senders are computations to be performed an object that describes work (see Niebler et al. 2024, 4.3). Taking designs that suspend computation are a natural place to begin when planning senders. Models that do so in an otherwise strict evaluation environment can be easier to reason about for porting to C++ than from default lazy environments, such as Haskell.
By air, Sussman meant building a data structure out of nothing but higher order lambda expressions in scheme. This technique is also a common implementation technique for functional programming languages, and it turns out to be one of the ways pattern matching is supported.
This can be implemented directly using C++ lambda, something that is particularly easily now that recursive lambda is possible using deducing this. We start out by implementing Either, then Pair, Maybe, Boolean, and then we see how recursive types can be made, such as a cons list. The core of the pattern is closely related to generalized fold, or catamorphism, and it has deep connections to the Visitor pattern.
Changing perspective from inductive types, like list, to coinductive, infinite types, like stream, means looking at deconstruction, or observation, of codata. However, the pattern of dispatching to handlers remains the same, though with some slight inversion.
This guides us to a concrete Sender design that can be implemented as concrete sender types, rather than wrapping unnamed higher-order functions. This also helps avoid recursions in the type system, by hiding the uninteresting intermediate types being sent. This also provides an excuse to demonstrate implementing a sender. There are not enough examples, but writing a sender is intended to be within the scope of work for an intermediate C++ developer.
At the end of this talk, we will have an async queue and an async stream implemented using just senders.
Slides: https://github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Building_Streams_out_of_Hot_Air.pdf
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: https://www.think-cell.com/en/career/tech
Steve Downey
Steve Downey has been a programmer for more than 30 years. Steve graduated from SUNY Purchase with a BS in Mathematics. A Computer Science degree would have involved two classes before 11:00 am, so was impossible.
He has worked at Bloomberg since 2003, and is currently working as an Engineer on the C++ Infrastructure team.
C++Now 2026 - 4th May - 8th 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 - https://www.cppnow.org
https://www.linkedin.com/company/cppnow
https://twitter.com/cppnow
https://www.facebook.com/CppNow
https://www.reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #senders Coinductive Types in C++ Senders - Building Streams out of Hot Air - Steve Downey - C++Now 2025](https://i.ytimg.com/vi/POXB5xRai74/mqdefault.jpg)







