Hacker News new | ask | show | jobs
by ihateolives 868 days ago
OTOH Deno can produce self-contained binaries. For me this is a plus, it makes distribution so much easier. I don't care if it's 100MB, I just want to have one file which I can throw on my server,
2 comments

That feature has a bad history of refusing to run due to unsupported things you're using, just like deno bundle.
So does node.js nowadays. But yeah, I agree it is an awesome feature!
That’s overstating it a bit. As you can see, it’s an experimental, tedious, manual process with Node:

> Stability: 1 - Experimental: This feature is being designed and will change.

https://nodejs.org/api/single-executable-applications.html

Deno, on the other hand, has it as a supported, complete feature that’s very easy to use:

https://docs.deno.com/runtime/manual/tools/compiler