Hacker News new | ask | show | jobs
by ink-splatters 33 days ago
Having single binary output is completely different problem and is solved for both Python and typescript (bun supports the later).
2 comments

That's true, but it's not quite the same thing. The single binary you're referring to is the interpreter and source code packaged together (at least for TS/JS).

If you install too many of these "single binaries" then at some point you would be better off just having a single interpreter and using npm/pip.

By contrast the Rust binary only contains the machine code for this program and can be directly executed.

Node and Deno can also bundle apps into a single executable.