Live data from Hacker News

Scala 2.12.0 is now available

scala-lang.org

11–20 of 78 posts

Re: Scala 2.12.0 is now available

#11
What grabbed my attention the most in terms of Scala is Dotty. New compiler for Scala, who's main goal is simplification and reorganization of language. You know it will be for real when even Martin is working on it! This language has bright future.

Edit: grammar, sry.

Re: Scala 2.12.0 is now available

#12
post #8

The right-biased Either, and the partial unification support that it builds on, are a much needed and much appreciated improvement. Really looking forward to trying out this release.

I just learned these were on the table last night. It's like Christmas!

[deleted]

Re: Scala 2.12.0 is now available

#13

The right-biased Either, and the partial unification support that it builds on, are a much needed and much appreciated improvement. Really looking forward to trying out this release.

Is there a good source to read about what is partial unification for the uninitiated? Googling it lead me to this: https://issues.scala-lang.org/plugins/servlet/mobile#issue/S... which points to a formal proof of my functional programming concepts illiteracy (http://www.cs.cmu.edu/~fp/papers/lfp88.pdf). Couldn't understand a word and I use scala for work... Any chance there is an easy explanation?

Edit: found something: https://gist.github.com/djspiewak/7a81a395c461fd3a09a6941d4c...

Re: Scala 2.12.0 is now available

#14
Does anyone have any tips for learning Scala? I want to learn the language, it looks very interesting, and I have some familiarity with Scheme, Haskell and Ocaml, but I just don't know how to start. What should I read? What should I build?

Re: Scala 2.12.0 is now available

#15

Does anyone have any tips for learning Scala? I want to learn the language, it looks very interesting, and I have some familiarity with Scheme, Haskell and Ocaml, but I just don't know how to start. What should I read? What should I build?

I have suggested Odersky's introductory MOOC [1] to many of my students and they all thought it was great. It's heavily inspired by SICP, so it should be easy, given your background.

[1] https://www.coursera.org/learn/progfun1

Re: Scala 2.12.0 is now available

#16

Does anyone have any tips for learning Scala? I want to learn the language, it looks very interesting, and I have some familiarity with Scheme, Haskell and Ocaml, but I just don't know how to start. What should I read? What should I build?

If you just want to learn the language, read scala for the impatient, first half is free on Lightbend's website. If you want to learn fp, read functional programming in scala (Manning).

Re: Scala 2.12.0 is now available

#17

Does anyone have any tips for learning Scala? I want to learn the language, it looks very interesting, and I have some familiarity with Scheme, Haskell and Ocaml, but I just don't know how to start. What should I read? What should I build?

I'm reminded of "The State of Scala website and documentation" [0].

[0] https://groups.google.com/forum/#!topic/scala-internals/r2Gn...

Re: Scala 2.12.0 is now available

#18

The right-biased Either, and the partial unification support that it builds on, are a much needed and much appreciated improvement. Really looking forward to trying out this release.

Is there a good source to read about what is partial unification for the uninitiated? Googling it lead me to this: https://issues.scala-lang.org/plugins/servlet/mobile#issue/S... which points to a formal proof of my functional programming concepts illiteracy ( http://www.cs.cmu.edu/~fp/papers/lfp88.pdf ). Couldn't understand a word and I use scala for work... Any chance there is an easy explanation? Edit: found somet…

This is a good explanation about what partial unification means in terms of Scala. And also a pretty good explanation of what the supposed fix actually does.

https://gist.github.com/djspiewak/7a81a395c461fd3a09a6941d4c...

Re: Scala 2.12.0 is now available

#19

Does anyone have sample sizes on Jar file size reduction, or clean compile time from the new backend? I haven't been deep in Scala for a few months, and it sounds interesting that Java8 allowed some improvements on the back end...

regarding jar size, from http://get-scala.org/2.12 (mentioned in this thread already):

 	                2.9 	2.10 	2.11 	2.12
  Scala library 	9.0 	7.1 	5.7 	5.5
  Scala compiler 	11.5 	14.5 	15.5 	10.1
  ScalaTest (3.0.0) 	        10.5 	10.4 	7.0
data is in Megabyte. Compilation would be interesting, since I have read multiple times that it is slower due to a jvm bug. Only a few days ago for example: https://www.reddit.com/r/programming/comments/5ab948/scala_2...

Re: Scala 2.12.0 is now available

#20

The right-biased Either, and the partial unification support that it builds on, are a much needed and much appreciated improvement. Really looking forward to trying out this release.

Is there a good source to read about what is partial unification for the uninitiated? Googling it lead me to this: https://issues.scala-lang.org/plugins/servlet/mobile#issue/S... which points to a formal proof of my functional programming concepts illiteracy ( http://www.cs.cmu.edu/~fp/papers/lfp88.pdf ). Couldn't understand a word and I use scala for work... Any chance there is an easy explanation? Edit: found somet…

Was about to post that link when I saw your edit.
Post reply on HN