2 ms·
Scala had a CLR target for a number of years, but getting the type system to work was so problematic it was eventually abandoned.
by paulddraper 10y ago
Scala had a CLR target for a number of years, but getting the type system to work was so problematic it was eventually abandoned.
- broiledegg 10y agoThat's what I meant with: "That's largely an urban myth."
- emodendroket 10y agoI'm curious in what sense it was difficult to get it to work.
- paulddraper 10y agoPerhaps not the best explanation but this the gist, as given by Scala's creator in an interview https://youtu.be/p_GdT_tTV4M https://youtu.be/p_GdT_tTV4M > It's harder then it looks, because .NET has a very rich type system which happens to be not the Scala type system. In fact, it's very hard to map some of the parts of the Scala types like higher-kinded types...so it's a difficult task, much more difficult than JS or LLVM. LLVM is likely going to be the third target [after JVM and JS] because there we don't need to fight a type system which is foreign to us, which is what the .NET one is.