Hacker News new | ask | show | jobs
by robmccoll 60 days ago
Java has a slow iteration time - long compilation and slow startup. Common frameworks add even more time before the program does anything useful. A fairly complex Go web backend can recompile and completely start in under a second. A relatively simple Java backed can take more than ten seconds.
2 comments

That's not Java being slow, that's Gradle and Spring being slow.
If Java is fast, why are Gradle and Spring slow?
Because they're massive piles of over engineered framework code you don't need.
Only if you holding it wrong, write the same stuff in Java like in Go, without frameworks, all by hand and you will get your second.

Even better don't throw away the frameworks, learn to use JIT caches and hot code reloading tools, and you can even debug, edit and continue from the comfort of an IDE, doing several useful actions.