cpp_weekly
cpp_weekly copied to clipboard
JIT/LLVM + constexpr for "runtime constexpr"
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