Hacker News new | ask | show | jobs
by baybal2 3487 days ago
java hello world will not fit even into a 10 gigagate chip
2 comments

Funny thing is that bytecode is actually pretty dense, more dense than x86. But it's that everything else which makes Java images pretty huge.
Tree shaking is not difficult; the JVM just hasn't had much need for trimming its runtime OR static compilation.