Emacs-ng: Emacs with Deno runtime and TypeScript
1–10 of 154 posts
Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#2Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#3Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#4Systemd-ng, anyone?
Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#5Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#6Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#7I personally look forward to the day when every program I run embeds JavaScript and an HTML engine in it. Then we will be living in an age of true modernity in software development. Systemd-ng, anyone?
Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#8Guile-Emacs should.
Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#9Compare the recursive Fibbonaci function against Scheme with Guile's JIT.
Okay.
$ cat fib.scm
(define (fibonacci n)
(if (
Node also uses V8. $ time node fib.js
node fib.js 1.29s user 0.01s system 100% cpu 1.296 total
But okay, you wanted deno. $ time deno run fib.js
deno run fib.js 1.41s user 0.02s system 99% cpu 1.423 total
Meanwhile, using `emacs --script fib.elc` to evaluate byte-compiled (fib 40) takes about 32s. And `emacs --script fib.el` takes about 2x that, at 64s.edit: for reference, the equivalent C code runs in 0.27s on my laptop.
edit edit: okay, okay, compiling the Guile code before running it speeds it up to an exciting 8.16s execution time, still about 6x slower than deno.
Re: Emacs-ng: Emacs with Deno runtime and TypeScript
#10I personally look forward to the day when every program I run embeds JavaScript and an HTML engine in it. Then we will be living in an age of true modernity in software development. Systemd-ng, anyone?
My beefy desktop computer is often already struggling just to run Chrome.
Emacs used to stand for "Eight Megabytes and constly swapping", maybe they could name it now Egacs (Eight Gigabytes ...)