3 ms·
I feel like using Graal for the comparison is cheating a bit because it's so fundamentally different from what bun is doing. You need to compare it to tools tha
by Spivak 4y ago
I feel like using Graal for the comparison is cheating a bit because it's so fundamentally different from what bun is doing. You need to compare it to tools that ship class files and a JVM, or something like PyInstaller which will have much much more overhead.
- sshine 4y agoI wouldn’t call it cheating. I’d also compare against stripped Rust binaries statically linked against musl.
- kaba0 3y agoA leaned up JRE (only containing the base jdk classes) and an included hello world is 47.2MB.
- ptx 3y agoPyInstaller actually seems to have less overhead, in terms of space, not "much much more". Building a hello world script with "pyinstaller --onefile" gives me a 5.6 MB executable on Linux or 4.9 MB on Windows.