Hacker News new | past | comments | ask | show | jobs | submit login

The Scala team have plans afoot to target LLVM and .NET too.



Do they have actual plans though? There has been talk of .NET support since the beginning. Basically I wouldn't hold my breath.


Unless they get significant outside help I'm very skeptical that we'll see a usable Scala on LLVM or .NET any time soon. The core Scala team is very talented but they seem to have their hands full with the JVM version.


Scala already compiles to the CLR, but support for it is nowhere near that for the JVM.


Last time I looked (early 2009), Scala compilation to the CLR was a bit of a joke. It targeted version 1.1 of the CLR, which had been superseded nearly 4 years earlier. I think the problem was with the predefined libraries. Supposedly you could get it to work with v2 but I never did.

They also did themselves no favours by having the Scala compiler dump out MSIL assembler code rather than a .NET assembly. You had to separately run the ilasm tool to get an executable. Obviously for a production environment you'd package this up in a build file, but for experimenting with the language it was a bit of a speed bump.

This is without even looking at the language features and libraries that were supported on the JVM but not on the CLR (e.g. structural types, parser combinators).

My experience may be out of date here, but the scala-lang page on .NET support is still datestamped July 2008, so I'm not too optimistic. A great pity, as Scala always seemed a great fit for the CLR and would provide some nice competition to C# and F#.


This looks pretty active: http://lamp.epfl.ch/~magarcia/ScalaNET/

I'm not sure what relation his work has to the core Scala project or team, though.





Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: