Uploaded November 2025 | Updated December 2026, 3 hours ago
cppnow.org
---
C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025
---
In this talk we will use small C++ programs to explore the underlying hardware. Starting from an extremely simplified model of the CPU, we will uncover more and more details of the CPU architecture through small C++ snippets and profiling tools. Based on the results we will expand the model such that, by the end of the presentation, the model will be a fairly good representation of a modern chip architecture.
By the end of the talk you should have a good understanding of the CPU architecture and gained an intuition about software performance.
---
Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Cpp_as_a_Microscope_Into_Hardware.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---
Linus Boehm
Linus obtained his degree in Electrical Engineering from the Karlsruhe Institute of Technology and his Masters from Columbia University before completing his PhD at the University of Ulm. Since then he has worked on radar-signal processing for autonomous driving and, more recently, on financial trading systems. He is also a contributor to the Beman Project. In his spare time, he likes to run (but not quite as fast as C++).
---
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 - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and 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 #embedded #coder #hardware
cppnow.org
---
C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025
---
In this talk we will use small C++ programs to explore the underlying hardware. Starting from an extremely simplified model of the CPU, we will uncover more and more details of the CPU architecture through small C++ snippets and profiling tools. Based on the results we will expand the model such that, by the end of the presentation, the model will be a fairly good representation of a modern chip architecture.
By the end of the talk you should have a good understanding of the CPU architecture and gained an intuition about software performance.
---
Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Cpp_as_a_Microscope_Into_Hardware.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---
Linus Boehm
Linus obtained his degree in Electrical Engineering from the Karlsruhe Institute of Technology and his Masters from Columbia University before completing his PhD at the University of Ulm. Since then he has worked on radar-signal processing for autonomous driving and, more recently, on financial trading systems. He is also a contributor to the Beman Project. In his spare time, he likes to run (but not quite as fast as C++).
---
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 - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and 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 #embedded #coder #hardware










![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)