3 ms·
Most importantly you get immediate startup. No need to parse and compile. Then you'll also need less memory. And third and less important you can add more expe
by rurban 5y ago
Most importantly you get immediate startup. No need to parse and compile. Then you'll also need less memory.
And third and less important you can add more expensive offline optimizations, which are too heavy at run-time. Like escape analysis, and inlining.
Esp for the static parts. The dynamic parts just call into the shared ruby runtime.
- chrisseaton 5y ago> Most importantly you get immediate startup. No need to parse and compile. Compiling to an IR doesn't mean 'and then interpret or JIT it'. Can can use an IR to compile to native. GCC, Clang, Rust etc all an IR, for example.