3 ms·
I didn't see anyone mention this, but I think having a single binary is much nicer than having a JS (or Python) program sprawled all over your system.
by jwxz 5mo ago
I didn't see anyone mention this, but I think having a single binary is much nicer than having a JS (or Python) program sprawled all over your system.
- ink-splatters 5mo agoHaving single binary output is completely different problem and is solved for both Python and typescript (bun supports the later).
- crabmusket 5mo agoNode and Deno can also bundle apps into a single executable.
- jwxz 5mo agoThat'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.