Live data from Hacker News

Microsoft Open Sources C# Compiler

roslyn.codeplex.com

71–80 of 459 posts

Re: Microsoft Open Sources C# Compiler

#71
post #23

They also announced as part of this that they are putting a large swatch of their .NET Source code under Apache 2 and accepting pull requests. Folks, this is a very big deal for Microsoft. Who would have imagined this 10 years ago? Here is an image that shows what they are putting into the community https://pbs.twimg.com/media/BkT9oBcCQAAHIAV.jpg:large

... as awesome as this is, I'm gonna be That Guy: No WPF?

Although I sort of understand why, it's a shame - WPF cross-platform would be very awesome, and mono still has no plans to implement any of it, last I heard. Windows forms is just too ancient.

Re: Microsoft Open Sources C# Compiler

#72
post #27

Earlier quoted context omitted.

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.

[deleted]

Re: Microsoft Open Sources C# Compiler

#75

Earlier quoted context omitted.

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?

The C# compiler is written in C#, so you can use it anywhere with a .NET runtime. Microsoft doesn't ship a .NET runtime for Linux, so you'll have to use Mono, but if your app is compatible with Mono, you're good to go!

Is Mono able to compile Roslyn?

Re: Microsoft Open Sources C# Compiler

#78
post #57

No more ".Net magic" now that the curtain's dropped. I think this will help .Net devs make smarter decisions about their code now that they can see what's happening in the background.

I'm not sure whether there ever was a time when .NET devs had to seriously consider "what was happening in the background". .NET Framework documentation has always been pretty good. Not too many dark corners there.

And the system libraries are cake to decompile if you really need to dig into the innards. I've only had to do that on one or two occasions, and it was more for curiosity sake (I think once I wanted a copy of the html character code encoding table and didn't want to piece it together by hand.)

Re: Microsoft Open Sources C# Compiler

#79

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 :)

What's the likelihood the .NET VM is open sourced as well? I use Mono right now to run my apps on Linux but it would be great to use the official implementation since Mono has subtle differences.

That's the main thing I would be interested in also, but I'm thinking that's one thing that we WILL NOT see. That could seriously undercut the need to buy Windows servers.

Re: Microsoft Open Sources C# Compiler

#80
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 really like C#. But it's currently pretty close to useless anywhere other than Windows - Mono doesn't even come close.

Hopefully this will close the gap.

Post reply on HN