<@U3HLSKE8L> Now think about how Scala users feel.
# random
@adam-mcneilly Now think about how Scala users feel.
😂 5
I’ve heard many times that last years this has been dramatically improved. Anybody checked Scala compilation speed recently?
it improves but not dramatically
it also happens that sbt caches more things and reuse a compilation server
the overall process is faster if you take sbt on account
but isn't that fast
it's not near as bad as it used to be, tests run very fast inside the ide.. sbt still takes a long time to startup but apparently they are finally going to deal with that..
They've been saying that for years. Both about sbt and Scala 🙂
Solution for SBT is to put it to sleep and work on something else, Li Haoyi is working on a new tool https://github.com/lihaoyi/mill
👍 1
Yeah I agree on that. Li's article about SBT was one of the best fishings of any ingrained tech tool I've ever read. I particularly loved the combination of there being an anemic tabularized model (rather than a tree/graph) and the fact that this allowed permutations that were senseless. Will be interesting to see how far he gets.
As to what they have been saying for years, tests running in a few seconds is far and away the most important speed metric. Eclipse was a decade in and the only way they managed it was to have the maven plugin be braindead, and require frequent reboots (as it were). When that guy Fred came in and fixed the maven plugin, test times exploded (that was the end for me). If you drop to the sbt terminal in IJ and type test, it does nothing for the first 15-30s. But the tests run in the IDE very quickly, and never need to restart them. The sbt team might not end up fixing the startup issue, but then again, the JUnit guys all the sudden started making changes they refused to make as soon as TestNG showed up. But I agree with Mario because I think Li's article basically shows that sbt is totalled. So better to let a fresh approach rebuild it than the guys who made peace with the mess attempt to repour the foundation while they jack up what's there.