C++ Weekly Episode 115: Compile Time ARM Emulator—Jason Turner
Episode 115 of C++ Weekly.
Compile Time ARM Emulator
by Jason Turner
About the show:
This episode of C++ Weekly demonstrates a compile time ARM CPU emulator using C++17 constexpr. No special tricks were necessary to accomplish this feat, merely following a rule of "constexpr everything that is reasonable." The code is portable and currently compiles with GCC and Clang in about 2 seconds for simple compile-time test cases.