3 ms·
guile --version? EDIT: Guile3 brings JIT support... Guile always compiles code before running it, but adding a JIT it's only from v > 2.91.x, and by default a
by anthk 6y ago
guile --version?
EDIT: Guile3 brings JIT support...
Guile always compiles code before running it, but adding a JIT it's only from v > 2.91.x, and by default at v3.
- vitus 6y agoAh. This is on Guile 2.2, apparently. Installing guile3 and rerunning...
- vitus 6y agoBetter, but still slower by about 1.5x. $ time guile3 fib.scm guile3 fib.scm 2.01s user 0.02s system 99% cpu 2.047 total edit: apparently my cpu was still being throttled post-build or something, as the initial runs were around 3s. Rerunning slightly later, it was noticeably faster.
- anthk 6y agoWell, not bad considering Guile3 and it's JIT are pretty early on release compared to the enormous work from a company as huge as Google with a full team working on v8 across years. Guile3 will improve that, too.