r/java • • 14d ago

Evolving the Java Language: An Inside Perspective

https://www.youtube.com/watch?v=fJP3s1A5jGY
126 Upvotes

36 comments sorted by

View all comments

Show parent comment

0

u/Emotional-Priority33 4d ago

i mean i know the issue, but refactoring a 3M lines of code of kotlin projects is not really what you could call a simple journey 🤣
but honestly, they could work on good defaults you know, the reason i’m complaining is really because i came from golang were builds takes literally fractions of seconds and coming to java was just way too painful. i’ve honestly not seen a single person that is happy with the state of build tools in java, that’s why new build systems like mill are emerging

1

u/OwnBreakfast1114 3d ago edited 2d ago

they could work on good defaults you know

What does this mean? Defaults for doing what? Is this a fundamental complaint that there's no first party build tool or is learning mvn init or gradle init really asking a lot?

The ecosystem is geared towards companies and long term maintenance, so companies typically create some maven archetypes or copy pasteable starter templates for their specific settings and projects anyway. I don't think the common use case is starting from a blank slate.

i mean i know the issue, but refactoring a 3M lines of code of kotlin projects is not really what you could call a simple journey

What is the issue and why do you have to refactor source code to get a normal build going? Or are your build scripts 3m lines because that sounds insane?

i’m complaining is really because i came from golang were builds takes literally fractions of seconds and coming to java was just way too painful

Generally speaking, most languages are slower at compiling than go since go hard optimizes for that specific benchmark, but java is pretty fast at compiling big projects. What part of your build is actually taking time? 3m lines of java code shouldn't be taking a long time (but yes, more than seconds).