Hacker News new | ask | show | jobs
by kaba0 1471 days ago
I would really like to see a benchmark on compilation speed. Sure, Go’s compiler is really fast by not doing any fancy optimizations - but.. have you seen javac’s byte code output? It barely does constant propagation, because it can get away with it due to JIT. So if anything, javac just starts up a bit slower, or the build tool does something at first start but otherwise java programs literally compile in a blink of an eye.
1 comments

I’d like to see that too, share it if you find it! My personal experience has been that the Go projects I’ve worked on have compiled a lot faster than the Java projects I’ve worked on. However, it’s hardly a 1:1 comparison, the Go projects were much newer and smaller than the Java projects, would like to see some legit benchmarks.