Earlier quoted context omitted.
I used Scala five-ish years ago, and I loved it, but I had two qualms: 1. The community was terribly split between FP purists who wanted to write Haskell on the JVM and pragmatists who leaned more towards the "better Java" side of things. Plus the occasional ex-Rubyists who came up with method names consisting solely of interpunction ("embedded DSL!"). Has any side won? It would be nice to have anything resembling "i…
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
Scala 2.13 is now available
31–40 of 87 posts
Re: Scala 2.13 is now available
#32Earlier quoted context omitted.
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
2.13 seems to be a very marginal improvement over 2.12 so it seems to be business as usual re compilation.
Re: Scala 2.13 is now available
#33Earlier quoted context omitted.
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
2.13 seems to be a very marginal improvement over 2.12 so it seems to be business as usual re compilation.
And as always with benchmarks, your workload may give you different results. 2.13 will especially help with code bases that heavily use the collections library.
Re: Scala 2.13 is now available
#34Earlier quoted context omitted.
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
2.13 seems to be a very marginal improvement over 2.12 so it seems to be business as usual re compilation.
Yes, compiling a ~200 file project from scratch takes ~5 minutes, but it has scalaz, shapeless and a ton of other libraries, but this is basically only required when you import/open the project for the first time.
Re: Scala 2.13 is now available
#35I personally really like how this release turned out. Tons of polish, cleanup, simplification, and performance work. Basically tackling the core problems with the language, with minimal feature creep or additional complexity (I must admit to contributing to that creep in a small way)
I guess there's always "one more feature", but to me it feels like Scala stopped frustratingly just short of getting the language design right. Partial type application is frustratingly cumbersome. For the last 3 releases or so - which is what, 6 years of language development? - people have been using the kind-projector plugin to the point that it's now pretty much entrenched. Any kind of built in solution - even if…
Re: Scala 2.13 is now available
#36Why is Scala not more popular? It seems like such an awesome language, is it because of it academic origins or because it's not functional enough?
There are well established programming languages for every single niche requirement. What's Scalas unique selling point? Where are they supposed to get/"steal" their users from?
In the abstract, it's the only mainstream language to offer both higher-kinded types and traditional OO ("extends") inheritance. From one side it offers all the good stuff of OCaml, F#, Swift, Kotlin, or Rust, but with a better type system that makes handling secondary concerns via "context-like" types a breeze. From the other side, it offers similar power to Haskell, but with more understandable performance, a better library/tool ecosystem (IDE, profiler and so on), less reliance on memory-unsafe code in practice (a lot of things in Haskell require C-wrapping libraries for things like image formats, whereas the corresponding cases in Scala wrap Java instead), and the ability to use traditional OO style if you want.
Re: Scala 2.13 is now available
#37Re: Scala 2.13 is now available
#38Why is Scala not more popular? It seems like such an awesome language, is it because of it academic origins or because it's not functional enough?
Note that I'm not saying Scala is bad, it just wasn't an easy enough transition for me to justify climbing the plateau. Clojure ended up being a similar situation. These languages are also optimized around writing large software projects and that was a hindrance rather than a benefit to someone that does more scripting than anything.
Re: Scala 2.13 is now available
#39Earlier quoted context omitted.
I've been turned off of it by SBT in the past.
A lot of Java shops moved from Maven to Gradle, and Gradle builds Scala projects: https://docs.gradle.org/current/userguide/scala_plugin.html Bazel works well too: https://github.com/bazelbuild/rules_scala
Re: Scala 2.13 is now available
#40Earlier quoted context omitted.
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
2.13 seems to be a very marginal improvement over 2.12 so it seems to be business as usual re compilation.