3 ms·
IIRC the latest Linux Node.js binary is over 70MB. Though Bun doesn't use Node.js I believe, there's a reference (At least it's not JVM Hotspot...)
by paulddraper 4y ago
IIRC the latest Linux Node.js binary is over 70MB.
Though Bun doesn't use Node.js I believe, there's a reference
(At least it's not JVM Hotspot...)
- U1F984 4y agoA Java Runtime for Hello world is just 32 MB: https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/ https://adoptium.net/blog/2021/10/jlink-to-produce-own-runti...
- paulddraper 4y agoA full Java runtime is 95MB. (Smaller than the JDK size of 312MB.) > The jlinked runtime using the above command is about 95Mb. Simple programs -- like Hello World -- can indeed exclude certain parts of the JRE using jdeps, for a smaller size.
- mike_hearn 4y agoYou can actually get it smaller if you compile your own JDK and look at the compressed size. I got it down to 7mb at one point.