After Reflection: The Runtime Story - Saksham Sharma - C++Now 2026 @CppNow
After Reflection: The Runtime Story - Saksham Sharma - C++Now 2026  @CppNow
Uploaded August 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

After Reflection: The Runtime Story - Saksham Sharma - C++Now 2026
---

C++ has enormous low-level power, but lacks a standardized meta-DSL-layer: portable reflection-ish primitives for defining and “compiling” DSLs at runtime, and an ergonomic runtime compile/link/load facility. Even though highly performant and power-efficient code is incredibly important in this brave new world, most modern code (AI or otherwise) is often written in Python. As C++ programmers, we often forget how little can be done at compile time in real-world systems. Programs increasingly need to build programs at runtime - query engines, DSLs, data pipelines, ML graphs, packet filters, SIMD kernels. Those systems in other languages don’t always “JIT compile C++”; they often “compile” by lowering a runtime graph into an executable plan, which may be (1) dynamic dispatch over precompiled variants, (2) runtime specialization over embedded IR/bitcode, or (3) true in-process compilation and loading.

In this talk, we will go on a journey to build a real numerical (but toy) DSL which can do GPU and CPU operations, with multiple source languages and multiple backends, supporting host bindings.

To do that, we discuss the philosophy of why we need graph based DSLs, and what they can cover. We will then distill the mechanisms other ecosystems rely on - DSL graph building, specialization, caching, and JITing. Then we shall build a numerical DSL language in C++ from scratch, and in that process, try to generalize three concrete subsystems for use in C++ that can make DSLs vastly more ergnonomic in C++:

- A Graph DSL-IR pattern for representing programmatic computation as runtime graphs in any syntax (including C++) and “serializing” these program into dispatch plans, agnostic of what ""dialect"" of computation we're representing, whether it be closer to LLVM IR, Triton, or CUDA. This would include safe serialization of types as well.

- A compiler interface to compile programs represented in the DSL-IR to machine code. The toolchain used would depend on the dialect of the graph DSL. This allows us to build a simple JIT layer to compile a standard serialized IR to code, without binding directly to Clang/LLVM or platform-specific loaders.

- Small tooling primitives such as a standard dynamic library loader, and type safety (runtime type checking) to make loading and workflows safe and ergnomic.

We’ll show how these three items compose into a real DSL IR, which can build specialized kernels, plugin architectures, and useful runtime programs.
---

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

Saksham Sharma

Saksham Sharma is a Director of Quantitative Research Technology at Tower Research Capital LLC, a high frequency trading firm based out of New York. He develops low latency and high throughput trading systems and strategies used for the firm's global quantitative trading. In addition, he also helps design and improve big data research infrastructure used for trading research using a combination of C++ and Python. Thanks to an urge to optimize his daily workflow, he also owns the build systems, tooling, and package managers for C++ within his team.In the past, he has worked in the fields of program analysis research, functional programming, and systems security. He is a reformed geek (exemplified by a switch to Cursor after almost a decade with Emacs), and now enjoys driving, guitar, badminton, and snowboarding.
---

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
After Reflection: The Runtime Story - Saksham Sharma - C++Now 2026What Does It Take to Implement the C++ Standard Library? (C++Now Edition) Christopher Di BellaOptimizing Bishop, Rook, and Queen Move Generation in a Chess Engine - Aryan Naraghi - C++Now 2026Declarative Refactoring for the Masses in C++ - Andy Soffer - C++Now 2025Mastering the Code Review Process - Boosting C++ Code Quality in your Organization - Peter MuldoonLightning Talk: Your Very Own Godbolt - Andy Soffer - C++Now 2025Co-Designing Integrated AI-Enabled Compiler-Runtime Systems - Hartmut Kaiser - C++Now 2026std::optional — Standardizing Optionals over References - A Case Study - Steve Downey - C++Now 2025Lightning Talk: Laws of Software - Richard Powell - C++Now 2025C++ on Nightmare Mode - Achieving High Performance, Cross-Platform, and Reliable Code - C++Now 2025Lightning Talk: Our Most Treacherous Adversary - James McNellis - C++Now 2026Lightning Talk: Bool - Implicitly Dangerous - Jeff Garland - C++Now 2026
CppNow |

After Reflection: The Runtime Story - Saksham Sharma - C++Now 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER