Live data from Hacker News

Microsoft Open Sources C# Compiler

roslyn.codeplex.com

31–40 of 459 posts

Re: Microsoft Open Sources C# Compiler

#32
post #24
post #15

Earlier quoted context omitted.

Who would have imagined it five months ago?

At that moment they already released part of .NET, asp.net and azure. I think you wanted to say that the "change" was made only thanks to the exit of Ballmer, but I think that's an exaggeration.

> I think you wanted to say that the "change" was made only thanks to the exit of Ballmer, but I think that's an exaggeration.

I think it'd probably be more accurate to say that these particular changes are symptoms of the same corporate change of direction that the change of CEO was, not that the change of CEO specifically resulted in these releases.

Re: Microsoft Open Sources C# Compiler

#33
Nice. For some reason I can't clone the repo, though.

    Cloning into 'roslyn'...
    remote: Counting objects: 10525, done.
    remote: Compressing objects: 100% (4382/4382), done.
    remote: Total 10525 (delta 6180), reused 10391 (delta 6091)
    Receiving objects: 100% (10525/10525), 16.94 MiB | 1.69 MiB/s, done.
    error: RPC failed; result=56, HTTP code = 200
Edit: This looks like an incompatibility between GnuTLS and whatever Microsoft is using for TLS. Using git+libcurl linked against OpenSSL works fine.

Re: Microsoft Open Sources C# Compiler

#34
post #27
post #7

Earlier quoted context omitted.

This is still Windows only. If anything Mono now has more resources to pull from to improve their project.

It's a compiler. It takes input and produces output. There shouldn't be much in there that has any platform dependency.

For any compiler, platform-dependence of the compiler itself is strictly tied to platform-dependence of outputs.

Edit: I confused roslyn with the recently announced AOT compiler.

Re: Microsoft Open Sources C# Compiler

#35
post #19

As a C# developer who genuinely likes the C# language (although I loathe vast swaths of the .NET framework libs) I'm actually super-excited about this. C# is a great language, and I hope to see it flourish outside of the MS walled garden. Miguel de Icaza does what he can with Mono, but it can be so much more.

Agreed. I've long since left .NET-land, but I still miss C#, LINQ and the like. Here's hoping for great stuff in the future.

Re: Microsoft Open Sources C# Compiler

#37
Wow these contributions are a huge deal for Mono. I've spent the last few months making sure C# code works well in Mono and there are a lot of things that are missing or buggy. WebClient for example on Mono is missing DNS refresh timeout which means your app will never update a dns cache entry. If the ip of a server changes, you're pretty much screwed in Mono.

Re: Microsoft Open Sources C# Compiler

#38

Everyone on Roslyn is really excited about this and we hope that it serves as a signal that big things are happening in .NET to make the entire platform more open and agile! P.S. We're the Visual Basic compiler too :)

as someone who doesn't know a whole lot about the .net ecosystem - does this open the possibility for writing server side c#.net web applications that run on linux, with full parity with the windows environment? with or without mono?

Re: Microsoft Open Sources C# Compiler

#39
post #3

What does this mean for the Mono project? http://www.mono-project.com/Main_Page

Mono isn't just a c# compiler, it is also a CLS Machine (virtual machine) and a set of libraries, among other things. If the VM was also put under apache 2, it is also unlikely that it would run on Linux out of the box.

To use java as an example, this would be like open sourcing javac without open sourcing the JVM. (Just fyi, both javac and JVM are open source under the GPL license. :) [edit - Looks like large parts of .NET platform are being released]

Still, this is a move to be applauded. Microsoft has been easing itself into a more open source friendly company over time by putting more projects under an open license. Microsoft ASP.NET MVC is another good example. There is an incomplete list of open source projects originating from Microsoft here: http://www.microsoft.com/opensource/directory.aspx

[edit above in brackets]

Re: Microsoft Open Sources C# Compiler

#40
post #7
post #3

What does this mean for the Mono project? http://www.mono-project.com/Main_Page

This is still Windows only. If anything Mono now has more resources to pull from to improve their project.

The C# compiler targets the CLR (Mono or .NET). It produces IL which is similar to Java bytecode. The runtime then JIT's it, but I don't know if that's OS-specific or not.
Post reply on HN