News for hackers. Stuff that matters.
Re:Typesafe’s Commitment to the Scala Ecosystem by CmonDev on Wednesday September 03, 2014 @08:27AM (#8262614)
Maybe at least they will be capable of finishing the CLR version? It would be awesome to have a C-friendly and functional-friendly language that runs on both VMs.
Re:Typesafe’s Commitment to the Scala Ecosystem by gilbertw1 on Wednesday September 03, 2014 @08:52AM (#8262716)
If I remember correctly the CLR implementation of Scala was scrapped because there were some limitations with the CLR's reified generic type system that made it impossible to express scala's type system.

I even believe that Microsoft research tried to find a solution for a while, but were unable. I'll try and find some references if I can.

Edit:

This link has some good info in it: http://visualstudio.uservoice.com/forums/121579-visual-studi...

Looks like the CLR can't represent higher kinded types at runtime using the reified type system.

Re:Typesafe’s Commitment to the Scala Ecosystem by seanmcdirmid on Wednesday September 03, 2014 @09:58AM (#8262991)
It kind of worked (I actually used it), but I don't think there was enough interest in it. Java is clearly dated on the JVM, but C# isn't that bad, and there is also F#. The CLR just doesn't need Scala as bad as the JVM did (and vice versa). There was never going to be a strong ecosystem there, even if there was a perfect version of scalac working.

You can easily erase to the CLR like you can on the JVM, the only issue is interop with .net APIs that use generics, of which this mostly means LINQ.

Re:Typesafe’s Commitment to the Scala Ecosystem by kvb on Wednesday September 03, 2014 @09:54AM (#8262970)
The JVM doesn't directly support higher-kinded types either. It might be a pain to come up with a scheme that interops nicely with other .NET languages, but in principle there doesn't seem to be anything that would make it impossible to build a Scala compiler for .NET (though it might involve lots of boxing and downcasts).