cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

JIT/LLVM + constexpr for "runtime constexpr"

Open dorrzz opened this issue 3 months ago • 0 comments

Channel

C++Weekly

Topics

I was wondering if you could maybe do an episode about exploring “runtime constexpr” via LLVM JIT/ORC — essentially showing how we can take a runtime constant, specialize a function with it, and then run the optimized binary path as if it were constexpr. It would be really cool to see how this technique compares to regular constexpr, templates, and compiler optimizations, and whether it might have any potential future in C++ standardization.

Length

10 minutes

dorrzz avatar Aug 22 '25 14:08 dorrzz