News for hackers. Stuff that matters.
Re:Scala 2.12 roadmap by reality_czech on Saturday February 13, 2016 @02:16AM (#11093039)
Well, that's the thing. If you have a small amount of code, the compile times are never a problem. Try compiling something like Apache Spark. It will be somewhere between 30-60 minutes depending on your disk speed, CPUs, etc. etc. The incremental builds are faster, but never less than 2 or 3 minutes for any change. You could potentially avoid this with the REPL, or use inotify to trigger a background compilation, but none of those really works all the time.
Re:Scala 2.12 roadmap by eklavya on Saturday February 13, 2016 @03:07AM (#11093196)
And yet it was written in Scala. That shows how little the compile times offset the goodies of using Scala.
Re:Scala 2.12 roadmap by reality_czech on Thursday February 25, 2016 @10:39PM (#11179668)
At the time Spark was started, Java didn't have lambdas or closures, making the equivalent Java code for functional-programming-style ML code much more verbose. Whether the same decision would be made today is an open question (and probably depends on who you ask). A lot of other frameworks have made different decisions, such as keeping the core of the project in Java and supporting other languages as shims on top (in my opinion a more sensible decision...)