Re:Java 21 makes me like Java again
by osigurdson on Sunday September 17, 2023 @01:07AM
(#37541705)
I once posted an Ask HN: what are your build times. A golang developer stated their 25 million line project compiles in less than half a second. If that is really the case, I must say, this is very impressive and potentially a reason to switch from other languages.
[ Parent
| on HN ]
Java compiles very fast especially with a running gradle daemon, definitely on comparable levels. It also supports hot reloads to a degree.
Also, was that a clean build?
Isn't this an exaggeration ? I have a 100k line go project and it takes several seconds to compile. No idea how a 25m line project compiles in less than half a second.
Re:Java 21 makes me like Java again
by peterashford on Sunday September 17, 2023 @03:23AM
(#37542404)
I work on a product written in Go which is considerably smaller than 25 million lines and our compile times are... really... really long. I really don't believe that claim at all.
If it's true, I would love to see how it's done because that is SOOO far away from my daily experience.
Re:Java 21 makes me like Java again
by osigurdson on Sunday September 17, 2023 @09:25AM
(#37544828)
I was skeptical as well. Thanks for providing feedback. I suspect the way they were counting lines was wrong as 25M lines is a very large project in its own right.