Re:Emacs-ng: Emacs with Deno runtime and TypeScript
by vitus on Monday March 15, 2021 @07:14PM
(#26470566)
Ah. This is on Guile 2.2, apparently. Installing guile3 and rerunning...
Re:Emacs-ng: Emacs with Deno runtime and TypeScript
by vitus on Monday March 15, 2021 @07:23PM
(#26470660)
Better, 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.
Re:Emacs-ng: Emacs with Deno runtime and TypeScript
by anthk on Monday March 15, 2021 @07:40PM
(#26470842)
Well, 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.
Guile always compiles code before running it, but adding a JIT it's only from v > 2.91.x, and by default at v3.