News for hackers. Stuff that matters.
Re:Scala Native by incepted on Wednesday May 11, 2016 @05:33PM (#11679501)
Agreed. I see the statement "It's being developed at EPFL by one engineer" as a very high risk that once this student graduates or moves on to a different university, the project will be abandoned and die.
Re:Scala Native by sjrd on Wednesday May 11, 2016 @09:48PM (#11680795)
It's worth noting that Scala.js started this way, and is now mature and used by thousands of developers. I foresee a similar path for Scala Native.
Re:Scala Native by danellis on Wednesday May 11, 2016 @06:19PM (#11679813)
It's worth noting that there was an LLVM-backed Scala project that was abandoned and died, so I definitely hope this avoids the same fate.
Re:Scala Native by incepted on Wednesday May 11, 2016 @06:49PM (#11680011)
There was also a Scala.net project that was abandoned and died.

That's very common for academic projects.

Re:Scala Native by bad_user on Wednesday May 11, 2016 @07:28PM (#11680230)
Scala.net didn't die because it was academic. It died due to lack of interest, as nobody cared about a Scala for .NET
Re:Scala Native by dragonwriter on Wednesday May 11, 2016 @07:32PM (#11680249)
ISTR a significant reason it died was the .Net platform's reified generics, which made making a language with generics and a type system more expressive than the underlying platform problematic, and especially made it difficult to have something that would be fully compatible with Scala-on-the-JVM.
Re:Scala Native by bad_user on Thursday May 12, 2016 @02:29AM (#11681736)
That's not really true. Yes there are challenges with reified generics and yes Scala's generics don't fit. However you can work around it by doing the type erasure yourself. You can always consider a List[Int] to be a List[Any] and be done with it. And yes that's going to generate inefficient code, but ClojureCLR doesn't seem to mind.

No, the reason for why Scala.Net didn't happen is because nobody cared. To find proof of this, you only need to look at Clojure. Its .NET implementation is well maintained by David Miller, yet it's very unpopular. And the reason for why .NET developers don't care is because they don't have an open source culture. Or in other words, if it doesn't come from Microsoft, then it doesn't exist.

Re:Scala Native by dragonwriter on Thursday May 12, 2016 @09:54AM (#11683351)
If you do erasure, then you can't also have the level of platform integration Scala has on the JVM: Scala on .NET either ends up as a different-but-similar language that isn't 100% compatible with Scala-on-JVM on a language level (as well the library differences), or its a second-class citizen that doesn't integrate well with the .NET platform, in which case, why have it?

So, in a sense, no on cared -- because neither of the available options was anything anyone wanted.

Re:Scala Native by incepted on Wednesday May 11, 2016 @11:59PM (#11681233)
Exactly.

It died for technical reasons because .net supports reified generics, which made it pretty much unable to support Scala's type system.

People who keep saying that erased generics is a stupid idea have no idea what they're talking about.

scala-native is facing insurmountable difficulties, the kind that will certainly not be conquered by a single student who will stop working on it as soon as he graduates.