Uploaded August 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org
---
What is your Algorithmic Core? - Egor Suvorov - C++Now 2026
---
Production C++ code often hides small, but deeply complex, algorithms inside layers of engineering -- APIs, lifetimes, error handling, integration, logging, and glue code. While we test classes and systems, we rarely test the algorithm itself in isolation.
Off-by-one errors and broken or missing invariants can survive extensive pre-production testing. Line coverage does not imply branch coverage. Branch coverage does not imply coverage of algorithmic corner cases. Testing through a wide public API often obscures the mathematical structure of the problem, making subtle bugs difficult to discover through multiple layers of abstraction.
This talk explores how to extract an "algorithmic core" from a larger component. Its correctness is fundamentally mathematical and largely language-agnostic rather than C++-specific.
Using examples such as substring matching, topological sorting variations, and lazy evaluation on trees, we will examine how problem corner cases differ from implementation corner cases, and how easily some of them are skipped.
We will discuss:
- Recognizing when an algorithm is entangled with boilerplate
- Extracting core logic without introducing accidental complexity
- What it takes to test algorithmic code in isolation
- Raising the level of abstraction to make reasoning easier without merely relocating complexity
- Using LLMs to assist in exploring and validating implementations
- Gradual rollout and comparison of competing implementations
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/What_is_your_Algorithmic_Core.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
---
Egor Suvorov
Egor Suvorov is a senior software engineer at Bloomberg, where he works on DataLayer, the company's real-time streaming data transformation pipeline. Previously, he led a freshman C++ course, where his students uncovered and reported dozens of bugs in various C++ tools. Egor was also part of the winning team of the ACM ICPC 2014 World Finals.
---
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
---
What is your Algorithmic Core? - Egor Suvorov - C++Now 2026
---
Production C++ code often hides small, but deeply complex, algorithms inside layers of engineering -- APIs, lifetimes, error handling, integration, logging, and glue code. While we test classes and systems, we rarely test the algorithm itself in isolation.
Off-by-one errors and broken or missing invariants can survive extensive pre-production testing. Line coverage does not imply branch coverage. Branch coverage does not imply coverage of algorithmic corner cases. Testing through a wide public API often obscures the mathematical structure of the problem, making subtle bugs difficult to discover through multiple layers of abstraction.
This talk explores how to extract an "algorithmic core" from a larger component. Its correctness is fundamentally mathematical and largely language-agnostic rather than C++-specific.
Using examples such as substring matching, topological sorting variations, and lazy evaluation on trees, we will examine how problem corner cases differ from implementation corner cases, and how easily some of them are skipped.
We will discuss:
- Recognizing when an algorithm is entangled with boilerplate
- Extracting core logic without introducing accidental complexity
- What it takes to test algorithmic code in isolation
- Raising the level of abstraction to make reasoning easier without merely relocating complexity
- Using LLMs to assist in exploring and validating implementations
- Gradual rollout and comparison of competing implementations
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/What_is_your_Algorithmic_Core.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
---
Egor Suvorov
Egor Suvorov is a senior software engineer at Bloomberg, where he works on DataLayer, the company's real-time streaming data transformation pipeline. Previously, he led a freshman C++ course, where his students uncovered and reported dozens of bugs in various C++ tools. Egor was also part of the winning team of the ACM ICPC 2014 World Finals.
---
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)





