Microsoft and Scala .net

View: New views
4 Messages — Rating Filter:   Alert me  

Microsoft and Scala .net

by Marcus Downing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As spotted on Planet Scala, Erik Engbrecht recently tweeted:

  ".NET version of #scala sponsored by Microsoft probably sometime next year #scalaliftoff"

and

  "EPFL almost has a #scala compiler that runs natively on .net and should have it by the end of the year #scalaliftoff"

...but I've seen nothing more about it, anywhere. Is this real or just random electron chatter? Is it supposed to be still under wraps?

Re: Microsoft and Scala .net

by Lukas Rytz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The .NET version is very much work in progress. The .NET backend is mostly
working, so you can compile to MSIL (using a compiler running on the JVM).

We're working on bootstrapping the compiler on .NET.

A central issue we're having right now is that there is no test suite (zero tests)
for Scala.NET, so we don't really know what the quality of the generated code is.

Help from the community would be very much appreciated!

Lukas


On Thu, Nov 5, 2009 at 12:36, Marcus Downing <marcus@...> wrote:

As spotted on Planet Scala, Erik Engbrecht recently tweeted:

 ".NET version of #scala sponsored by Microsoft probably sometime next year
#scalaliftoff"

and

 "EPFL almost has a #scala compiler that runs natively on .net and should
have it by the end of the year #scalaliftoff"

...but I've seen nothing more about it, anywhere. Is this real or just
random electron chatter? Is it supposed to be still under wraps?
--
View this message in context: http://old.nabble.com/Microsoft-and-Scala-.net-tp26211695p26211695.html
Sent from the Scala - Debate mailing list archive at Nabble.com.



Parent Message unknown Re: Microsoft and Scala .net

by Lukas Rytz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Thu, Nov 5, 2009 at 16:43, Josh Cough <joshcough@...> wrote:
I'd be very interested in putting together a test suite for Scala.NET. My first question would be, what prevents the existing tests from running? I'd like to hope that many of the test would be salvageable.

First problem is that partest uses actors, and they don't exist in Scala.NET :)

 

On Thu, Nov 5, 2009 at 8:03 AM, Lukas Rytz <lukas.rytz@...> wrote:
The .NET version is very much work in progress. The .NET backend is mostly
working, so you can compile to MSIL (using a compiler running on the JVM).

We're working on bootstrapping the compiler on .NET.

A central issue we're having right now is that there is no test suite (zero tests)
for Scala.NET, so we don't really know what the quality of the generated code is.

Help from the community would be very much appreciated!

Lukas



On Thu, Nov 5, 2009 at 12:36, Marcus Downing <marcus@...> wrote:

As spotted on Planet Scala, Erik Engbrecht recently tweeted:

 ".NET version of #scala sponsored by Microsoft probably sometime next year
#scalaliftoff"

and

 "EPFL almost has a #scala compiler that runs natively on .net and should
have it by the end of the year #scalaliftoff"

...but I've seen nothing more about it, anywhere. Is this real or just
random electron chatter? Is it supposed to be still under wraps?
--
View this message in context: http://old.nabble.com/Microsoft-and-Scala-.net-tp26211695p26211695.html
Sent from the Scala - Debate mailing list archive at Nabble.com.





Parent Message unknown Re: Microsoft and Scala .net

by Lukas Rytz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Right, sorry I should be a bit more specific.

Partest compiles and runs tests, and compares the output (either from the compiler
or from the program) with a corresponding ".check" file. It does so in parallel.

There are (mainly) four kinds of tests:
 - neg: should not compile (compare compiler output with check file)
 - pos: should compile (no output)
 - run: compile, run, compare output with check file
 - jvm: like run, but expected to work only on jvm

before partest, we used a bash script called "scalatest". This script actually supported
testing the .NET backend. I don't know how well it worked. The script was removed in
revision 17595,
http://lampsvn.epfl.ch/trac/scala/changeset/17595/scala/trunk/test

Thanks: Lukas





On Thu, Nov 5, 2009 at 18:47, Josh Cough <joshcough@...> wrote:
partest runs tests right? lets say we put something together that also runs those same tests. what percentage of them would still be usable? i looked through it briefly a few times and seems like we could probably make use of a good chunk of the tests.

On Thu, Nov 5, 2009 at 11:42 AM, Lukas Rytz <lukas.rytz@...> wrote:


On Thu, Nov 5, 2009 at 16:43, Josh Cough <joshcough@...> wrote:
I'd be very interested in putting together a test suite for Scala.NET. My first question would be, what prevents the existing tests from running? I'd like to hope that many of the test would be salvageable.

First problem is that partest uses actors, and they don't exist in Scala.NET :)

 

On Thu, Nov 5, 2009 at 8:03 AM, Lukas Rytz <lukas.rytz@...> wrote:
The .NET version is very much work in progress. The .NET backend is mostly
working, so you can compile to MSIL (using a compiler running on the JVM).

We're working on bootstrapping the compiler on .NET.

A central issue we're having right now is that there is no test suite (zero tests)
for Scala.NET, so we don't really know what the quality of the generated code is.

Help from the community would be very much appreciated!

Lukas



On Thu, Nov 5, 2009 at 12:36, Marcus Downing <marcus@...> wrote:

As spotted on Planet Scala, Erik Engbrecht recently tweeted:

 ".NET version of #scala sponsored by Microsoft probably sometime next year
#scalaliftoff"

and

 "EPFL almost has a #scala compiler that runs natively on .net and should
have it by the end of the year #scalaliftoff"

...but I've seen nothing more about it, anywhere. Is this real or just
random electron chatter? Is it supposed to be still under wraps?
--
View this message in context: http://old.nabble.com/Microsoft-and-Scala-.net-tp26211695p26211695.html
Sent from the Scala - Debate mailing list archive at Nabble.com.