3 ms·
The first advantage the homepage lists is: > Mill can build the same Java codebase 5-10x faster than Maven, or 2-4x faster than Gradle Speed per se can be a g
by fabioz 2y ago
The first advantage the homepage lists is:
> Mill can build the same Java codebase 5-10x faster than Maven, or 2-4x faster than Gradle
Speed per se can be a good selling point (having to wait for slow builds is really annoying).
I can't really comment on anything else though as I just stumbled upon it here in HN ;)
- iainmerrick 2y agoThe goal should be more like 50x faster than Gradle. Gradle is ludicrously slow (at least in every single Gradle project I’ve had to work with).
- kaba0 2y agoFirst invocation may be. Subsequent builds are very fast, unless someone decided to write random bullshit into the build scripts that execute at config time, making the config process impure.
- iainmerrick 2y agoI’m mostly thinking of Android projects. If I have time I’ll try some speed tests with a new basic project. But I don’t think I’ve even once done something in Android Studio and thought “huh, that was surprisingly fast”. Maybe some of the hot reloading stuff is okay (when it actually works).
- ktosobcy 2y agoAFAIR author made quite unfair comparison with simple compile vs full maven build (that executes a lot of additional stuff)
- switchbak 2y agoFor Scala (of which this is probably the main target) Maven builds are especially slow. I would not be surprised if that was his early focus.
- hocuspocus 2y agoMill's early goal was to be a saner sbt, incidentally also fixing the parts of sbt that are/were unreasonably slow due to questionable design decisions. Maven has never been relevant to the Scala ecosystem given most of the community has pretty much moved straight from ant to sbt. Only a few Spark related projects stubbornly use Maven, which is a major pain given the lack of cross-building abilities. Slow dependency resolution and inefficient use of Zinc merely add insult to injury.
- ktosobcy 2y agoYeah... that's my experience with Scala all around - it's abysmally slow, especially if you use any sort of "metaprograming"... (one of the reasons I stay clear of the language)
- speed_spread 2y agoAre we talking about Maven with its cache extension? https://github.com/apache/maven-build-cache-extension https://github.com/apache/maven-build-cache-extension Because in my experience, this makes Maven very, very fast.