Re:Using C++ as a scripting language, part 8
by binary132 on Saturday July 29, 2023 @09:11AM
(#36919963)
If I’m not mistaken, Cling is an LLVM-based JIT compiler, so it really should be performing close to the same level as an ahead-of-time Clang-compiled binary executable. Perhaps what you are noticing is JIT latency (from compiling on the fly.)
[ Parent
| on HN ]
Re:Using C++ as a scripting language, part 8
by WanderPanda on Saturday July 29, 2023 @11:23AM
(#36921146)
Maybe it is because of Debug vs. Release mode (and the optimization level coming with it) but I see a speed difference on the order of 10-100x vs. Release mode GCC