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!
Microsoft Open Sources C# Compiler
81–90 of 459 posts
Re: Microsoft Open Sources C# Compiler
#82Step in the right direction. I'm still waiting for git clone https://github.com/microsoft/windows.git to happen
Re: Microsoft Open Sources C# Compiler
#83They 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
I don't agree with RMS many times but in this one way he was 100% wrong when he targeted mono.
Re: Microsoft Open Sources C# Compiler
#84They 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?
Re: Microsoft Open Sources C# Compiler
#85The changes in company behavior have been absolutely stunning since Ballmer left. Hopefully these changes signal a more modern, forward looking Microsoft going forward.
Re: Microsoft Open Sources C# Compiler
#86Step in the right direction. I'm still waiting for git clone https://github.com/microsoft/windows.git to happen
Re: Microsoft Open Sources C# Compiler
#87Earlier quoted context omitted.
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!
How does something like this happen? How can you write a compiler in the language that it is supposed to be compiling?
Then they wrote the second C# compiler in C#, and used the first compiler to compile the second compiler. Voila!
Re: Microsoft Open Sources C# Compiler
#88Earlier quoted context omitted.
Who would have imagined it 5 years ago?
Who would have imagined it five months ago?
Re: Microsoft Open Sources C# Compiler
#89Earlier quoted context omitted.
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?
Interestingly, no -- but neither can the native C# compiler (that's what we call the old C# compiler that everyone's using in VS right now)!
Why? The C# compiler is bootstrapped, so we actually compile the compiler with the compiler. It just so happens that a while ago we felt we needed a feature so badly for the C# compiler that we introduced it into the C# language (exception filters) and started using it in the compiler immediately. So in order to compile the compiler, you need a C# compiler that supports exception filters, which right now is just the Roslyn C# compiler. Honestly, the feature (and some other small changes we've made) aren't that complicated, so they could be backported to other compilers, but I don't know why you would want to do that.
Re: Microsoft Open Sources C# Compiler
#90Microsoft, please add unix terminal instead of start button in Windows 8.