Hacker News new | ask | show | jobs
by joe_mwangi 26 days ago
I've done some tests with current value classes in latest prototype with full optimisation through annotation. Apparently, everything was being compiled to assembly code with no gc calls. It seems this old school ideology of slow java is about to end in near future. I'm actually intrigued how it will compete with Rust which can't optimise code further while running, while JVM JIT has more info which it could aggressively further optimise, especially hot paths.
1 comments

Value classes and virtual threads are two things that change your Java usage almost fundamentally, but they're both relatively recent, so there's lots of old code that can't easily switch.