3 ms·
> Java solved it with a JAR file JARs still require a JRE to run, and the runtime needs to be invoked. The equivalent would probably be a Python zipapp (which
by SoothingSorbet 2y ago
> Java solved it with a JAR file
JARs still require a JRE to run, and the runtime needs to be invoked. The equivalent would probably be a Python zipapp (which are just Python files zipped into a .pyz the interpreter can run).
Static binaries are one advantage that languages like Go and Rust have though, yeah.
- fire_lake 2y agoYou can bundle a JRE with a JAR to get a self contained executable. Also don’t forget that many compiled languages depend on a particular libc so you’re not totally in the clear there.
- 0points 2y agoA JRE + binary deployment weights in over 100 MB. An ordinary compiled binary would be a fraction of that size, saving you time in provisioning and deployment.
- fire_lake 2y agoSmall price to pay if you have a JVM team already. Most programmers (HN is a bubble) hate learning new languages.