Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026 @CppNow
Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026  @CppNow
Uploaded July 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026
---

A production message-passing abstraction has quietly powered a large C++ system for years. Most developers use its API daily. Very few understand the machinery underneath.

Its longevity comes from a dense combination of advanced C++ techniques: controlled friendship, type erasure, subtle inheritance structures, carefully engineered destructor ordering and clever operator overloading. The surface is simple; the implementation is anything but.

In this talk, we attempt to recreate the abstraction from scratch using an AI assistant. The initial results are clean, plausible and fundamentally simpler than the production design. By iteratively refining prompts, we guide the AI toward the nuanced trade-offs that make the real system robust and performant.

This process produces something remarkable: a compressed reenactment of the abstraction’s evolution. By contrasting naïve implementations with the final design, we expose the hidden decisions and constraints that expert-level C++ encodes.

This talk uses AI, in a novel way, as a lens to illuminate advanced C++ design. And to better understand why beautiful abstractions are built the way they are.
---

Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Beautiful_Cpp_Code.pptx

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
---

Erich Lohrmann

Erich Lohrmann is a software engineer at General Dynamics Mission Systems, where he specializes in building high-performance, low-latency systems. Previously, he served as a research engineer at the Georgia Tech Research Institute, contributing to the development of next-generation technologies.

His experience spans the design and implementation of large-scale server applications as well as advanced embedded systems. He holds a Master of Science in Computer Science from the Georgia Institute of Technology, earned in May 2018. His professional interests include the research and development of state-of-the-art operating systems, embedded platforms, and distributed systems.

Erich primarily works in C++ and Rust, focusing on creating robust abstractions that enforce correct usage and minimize the risk of misuse by other developers. His work emphasizes reliability and maintainability in complex, distributed application environments.

---

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
Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026Code C++ Like a Library Author - Jon Kalb - C++Now 2026Lightning Talk: Hilbert Hotel - The Grand Reopening - Tobias Loew - C++Now 2024Reflecting on Reflection - Introspection, Injection, and Beyond - C++Now 2026Designing a Slimmer Vector of C++ Variants - Christopher Fretz - C++Now 2024What is your Algorithmic Core? - Egor Suvorov - C++Now 2026How do Time Travel Debuggers Work? - Design and Implementation of a Time Travel Debugger - Greg LawThe Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026How To Make Formal Methods A Software Quality Solution That Can Actually Be Used In The IndustryLightning Talk: Reflection - The Monad - Ben Deane - C++Now 2026Coinductive Types in C++ Senders - Building Streams out of Hot Air - Steve Downey - C++Now 2025Streamlining C++ Code - Avoiding Unnecessary C++ Object Creation - C++Now 2025
CppNow |

Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER