Re:Show HN: Elsa – A QuickJS wrapper written in Go
by randomdata on Tuesday September 29, 2020 @11:28AM
(#24628984)
> Go folks couldn't contribute to Deno since it is in Rust
Deno was originally written in Go, until V8's GC was getting in the way of Go's GC, so they could always work on early versions of Deno, if they are willing to accept the problems with V8 that pushed the project to Rust.
I had forgotten that Fabrice Bellard also made one of his signature hacks around JavaScript [1]. This thing is amazing and he created a nicely written and formatted pdf, absolutely lovely.
Then I started doing a simple comparison of the two code bases
The JS portions feel similar (spoiler, same TS runtime) and that Deno has documentation and probably a lot more tests.Here is the a breakdown of the test code in each.
The JavaScript foot print in both codebases is mostly dominated by the TypeScript runtime and library. Deno only has 18kloc of js.[1] https://bellard.org/quickjs/quickjs.pdf