Skip to content

Comment on Java code optimization project

Comments

This is exactly what the Google Web Toolkit compiler does, but outputs Java bytecode rather than taking it into JS.

The HotSpot compiler does some of this static analysis at runtime (various forms of devirtualization and type-tightening), but it's far more effective if you feed it into a big vat and keep running optimizations on it until you can eke out anything more.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.