what is the status of scala for .net ?

2,488 views
Skip to first unread message

Razvan Cojocaru

unread,
Nov 27, 2013, 4:18:40 PM11/27/13
to scala-user

Does anyone have any insight into this? is it moving along or not? is it abandoned? Google can’t find much for me…

 

Thanks,

Razie

 

Roman Janusz

unread,
Nov 27, 2013, 4:20:22 PM11/27/13
to scala...@googlegroups.com
AFAIK, it's completely abandoned for now.

Simon Ochsenreither

unread,
Nov 27, 2013, 7:47:52 PM11/27/13
to scala...@googlegroups.com

AFAIK, it's completely abandoned for now.

Exactly, it has been dropped from trunk completely but there is still the original repo somewhere.
As far as I remember, the decision was mainly based on Microsoft's piss-poor management of the ecosystem which made people seriously question whether .NET will still be relevant after the 10 years of support which MS slaps on everything runs out.

But interested people are of course free to pick up the parts, update it to trunk and start working on it again.

Rüdiger Klaehn

unread,
Nov 28, 2013, 12:23:11 PM11/28/13
to Razvan Cojocaru, scala-user
I am not sure if this will help you, but while scala.net is dead, you can still use IKVM to run any java program you want on the .NET runtime. This is surprisingly fast and works pretty well with a lot of very complex java libraries.

For example I was able to get the orekit orbital mechanics library to run on .NET so you could use it from C#. I also did not have many problems converting the AKKA remoting example to .NET. It even works if one side is JVM and the other is IKVM.

In my experience IKVM is just as reliable and complete as other non-oracle JVM. There are a few caveats (no sun.misc.Unsafe, for example), but not nearly as much as with for example android.


--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Simon Ochsenreither

unread,
Nov 28, 2013, 12:58:20 PM11/28/13
to scala...@googlegroups.com, Razvan Cojocaru


For example I was able to get the orekit orbital mechanics library to run on .NET so you could use it from C#. I also did not have many problems converting the AKKA remoting example to .NET. It even works if one side is JVM and the other is IKVM.

Wow, that's good to know. Thinks for the info!
 
In my experience IKVM is just as reliable and complete as other non-oracle JVM. There are a few caveats (no sun.misc.Unsafe, for example), but not nearly as much as with for example android.

Do you have any experience with Akka running on Avian?

Rüdiger Klaehn

unread,
Nov 28, 2013, 2:16:28 PM11/28/13
to Simon Ochsenreither, scala-user, Razvan Cojocaru
I never tried avian. Will it work with swing applications? Then I might give it a try.

To run akka on IKVM I had to configure the threadpool executor instead of the fork-join executor because the latter uses sun.misc.Unsafe. See http://tountas-software.blogspot.de/2012/03/c-actors-with-akka-20-via-ikvm-net.html?showComment=1331549778438#c6782412988153303376

Is sun.misc.Unsafe available on Avian?


--

Simon Ochsenreither

unread,
Nov 28, 2013, 3:47:46 PM11/28/13
to scala...@googlegroups.com, Simon Ochsenreither, Razvan Cojocaru

I never tried avian. Will it work with swing applications? Then I might give it a try.

Sure, just build with the OpenJDK classpath instead of the builtin or the Android one.
 
Is sun.misc.Unsafe available on Avian?

Yes. Not sure whether the built-in/Android one is complete, but OpenJDK should work.

Gleb Chermennov

unread,
Nov 29, 2013, 2:35:24 AM11/29/13
to scala...@googlegroups.com
I think I heard that despite it's status (abandoned), it's quite complete implementation. If I'll find the post from the maintainer, will drop a link here.

четверг, 28 ноября 2013 г., 1:20:22 UTC+4 пользователь Roman Janusz написал:

Gleb Chermennov

unread,
Nov 29, 2013, 3:04:22 AM11/29/13
to scala...@googlegroups.com
There it is: http://www.scala-lang.org/old/node/10299

пятница, 29 ноября 2013 г., 11:35:24 UTC+4 пользователь Gleb Chermennov написал:

andreas...@googlemail.com

unread,
Jul 31, 2014, 10:06:36 AM7/31/14
to scala...@googlegroups.com
Since Microsoft currently invests a lot into the .net platform (think of roslyn) at least I believe that the decision to drop .net support should be reconsidered.
So I suggested this on uservoice (http://scala.uservoice.com/forums/30664-language/suggestions/6233378-reintroduce-the-net-backend).
Please vote for this suggestion if you like ;-)

Best regards,

Andreas

Naftoli Gugenheim

unread,
Aug 1, 2014, 4:41:55 AM8/1/14
to andreas...@googlemail.com, scala-user
Who owns that uservoice site?



--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

andreas...@googlemail.com

unread,
Aug 1, 2014, 7:15:01 AM8/1/14
to scala...@googlegroups.com

Rüdiger Klaehn

unread,
Aug 1, 2014, 8:12:03 AM8/1/14
to andreas...@googlemail.com, scala-user
Last I checked, it is possible to run very complex scala programs on
the .NET CLR using http://www.ikvm.net/ . This allows you to use scala
libraries from .NET or even compile entire programs to .NET.

I think it would be unwise for Typesafe to invest significantly in the
closed .NET platform. If there were resources for another compiler
back-end, it would be much better to invest them in a LLVM-based
backend.

On Fri, Aug 1, 2014 at 1:15 PM, <andreas...@googlemail.com> wrote:
> See http://scala-programming-language.1934581.n4.nabble.com/ANN-Scala-feedback-forums-on-UserVoice-com-td1955246.html, it seems that Martin Odersky is aware oft that site.
>

andreas...@googlemail.com

unread,
Aug 1, 2014, 8:33:46 AM8/1/14
to scala...@googlegroups.com
I know about the great possibilities of IKVM; nonetheless I'm convinced that any invest to support .net in a native way would be very valuable - but for sure this is just my opinion and to advertise it I created the entry on uservoice.
To be honest I fear the "religious" debate about .net and if it is a platform that matters, but I think we can agree that most high-level projects currently run on jvm or clr and that a advanced/expressive language that target both platforms is missing.
Reply all
Reply to author
Forward
0 new messages