1374 points · by keithwarren · 12y ago · 446 comments
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
Visual Studio and their MVC framework continue to impress me (I mostly work in Ruby today, but have to maintain some .NET stuff) and MS takes inspiration from successful open-source tools and frameworks where needed. Many of their recent advancements over the last 3-4 years have clearly been the work of engineers who enjoy and value the best of the open source world.
I'm not trying to tell you that Microsoft is suddenly our warm, fuzzy friend. As even Scott Hanselman would gladly admit, they're ultimately trying to sell you software licenses or Azure services.
But it seems to me that they're using open source the right way in order to achieve that goal, as opposed to the bad old "embrace and extend / embrace and extinguish" days at Microsoft.
Whether or not Microsoft has earned another shot with us or not is definitely up for debate, and with all the cool shit happening in the open source world it's probably even a moot point to an extent.
But they're definitely doing more than cargo-culting in Redmond these days.
But I do indeed think this is better than not having happened.
There are a lot of people at Microsoft who really do understand the value of open source. When I worked there ten years ago, there were plenty who did. When I wrote interop papers as an outside consultant in 2007, I worked with a unit that did.
But Microsoft also has a bunch of real problems that make it hard for them to realize this value, and so their options in going into it are somewhat limited. They can't pivot and become a services company because their whole Microsoft Partner network would be turned upside down. So they enter services in some key areas where their partners can't. It's a very delicate process, and it means for many on the administration side, the value of open source software for Microsoft is not as high as it would be for some other firms.
Nonetheless this is huge. Open sourcing the VB.net/C# compiler effectively means the possibility of an Linux port, which means that .net has the possibility to become write once, run anywhere even if the whole class libraries are not open sourced yet. This is a gamble for Microsoft because it reduces the barriers to moving from Windows to other platforms (Linux, OSX, BSD, etc).
I don't like Microsoft but Visual Studio is the only IDE I've ever tried that is substantially better than gedit/jedit. The auto-completion (intellisense) is just delightful to use.
I mostly feel sympathetic to the engineers working there. It's no fun living under an embarassing dictator.
I once saw a presentation of the Visual Studio lead in Belgium, where he claimed that there were over 1200 people involved in the Visual Studio project.
If that's true, i don't think there is any IDE that can top that number and it explains why Visual Studio is the best tool for (almost any) job.
People should realize that Visual Studio is not solely C#, it's NodeJS, PHP, Mono, Python and so much more in one environment.
Non-copyleft licenses can easily align with the "embrace, extend, extinguish" strategy. The value of .NET for most developers is closely associated with Visual Studio. They can make the next version closed source and have Visual Studio only accept that one and we are back to the same old Microsoft. Sure, you'd still have the previous open source version, but who cares when most people will probably just move on to the next.
[1] http://www.apple.com/pr/library/2000/04/05Apple-Releases-Dar... [2] http://opensource.apple.com/
The fact that the core OS is still open source doesn't actually mean much when there's a huge layer of proprietary code on top, does it?
Remember that time (well within the iOS era) that Apple claimed that FaceTime would be an open standard for interoperability?
I don't agree with RMS many times but in this one way he was 100% wrong when he targeted mono.
C# 2.0 is nearly a decade old now - and mono certainly hasn't limited itself to it. Absolutely none of C# 3, 3.5, 4.0, 4.5 was ever released as an open specification or as open source software until now - yet these are the versions mono and everyone was using.
So the "MONO FUD" was never actually FUD, it was legitimate concerns about the lack of openness of the technology. Those are no longer concerns (about this release version) - and we can be glad that RMS et al were "wrong" about this one (When they were in fact, absolutely right at the time.)
https://www.fsf.org/news/dont-depend-on-mono
So, five years later Microsoft makes another step in the right direction, and you think he's wrong because he didn't want to risk building the open source environment around something that could go away with a simple threat.
Btw, doesn't Microsoft make more money from Android patents than Microsoft phones? Microsoft does exercise their patents.
Edit: why the downvotes? If I started a social movement and everyone associated me with a watered-down alternative that tries to silence my views, I would be a little miffed.
I really like microsoft products and I use them every day, however the business model is too lock people in to their ecosystem so that you have to purchase licenses for their products.
Mono clearly undermines that b/c it allows you to "easily" jump ship to a free platform.
Unless I'm somehow completely misunderstanding their business model - killing Mono just makes business sense.
* I work for MSFT, on the Cloud.
This current move from MS suggests that they may not be being evil in this case, and that's great, but it doesn't make people with concerns about MS FUD-merchants at all. In fact, that's kinda insulting - most people accept that past behaviour is a good predictor of future behaviour so being cautious and sceptical about MS was not an unreasonable stance.
What I hear privately from the people I meet who work on the .Net and Visual Studio side of things is consistent with what the company is now saying publicly.
Basically: "We luvvv Mono" :-)
You know, I tried that. I've tried to run about 3 .NET programs, written for Windows, under Mono on Linux. They all have had some library that was never part of the "open spec" that, therefore, ruined their chances of running on anything but Windows. The experience(s) put a nice, neat pin on the board as to what "open" meant when it came to Mono. It was a lot of double speak. And it's exactly this long-suffering characteristic about Microsoft that makes people like me take these current announcements with a large grain of salt.
Not depending on them for anything is, has been, and will be a fine strategy.
Until they really make free enough licenses not only for the core stuff but for the crucial libraries nobody can expect to be off-the-hook of the traditional lock-in.
And even if they do all that, it doesn't mean anybody was "wrong" only that the conditions are changing and allow reconsideration.
well, Microsoft used to say that open source software was anti-american, cancer, communist, anti-competitive, etc... yup I think they changed a bit
No WPF?
But my guess would be that Ballmer stepping down was sort of symbolic in this regard. With a new CEO it looks more like a "new Microsoft" doing all these things.
With the code released, can you:
- Run a ASP.Net web server?
- Run a classic C# .Net project better than with Mono?
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.
P.S. We're the Visual Basic compiler too :)
Man, this is a crazy world. Cats and dogs living together. Open source MS projects. The falcon cannot hear the falconer
This is basically old hat for me -- I'm just glad Microsoft agrees it's the way to go. :)
We're looking at a lowered on-ramp to .net apps that run more smoothly than java+linux+every-support-tool-bit (dev-wise) across devices (and things). It's compelling.
Everything from dev to deployment and ops is getting touched at this conf. This shows where MS's strengths can present differentiation. Their profit source is, and has been, building/selling tools and platforms for others to run businesses. When the thing people hate becomes more like what they aspire to have/be, the tension is palpable.
Google is about the only other player nearly capable. But Google's mission has far less to do with selling shovels vs. harvesting and monetizing.
Apple is just not in this space. If anything, they sure feel like a device-only company in this conversation. WWDC is about the garden. Build is handing out spades, shovels, and, now, dirt.
Xamarin's Evolve, last year, felt a bit like all this does. The are big things happening. If nothing else, at least it feels like change, if not progress for devs and consumers.
Lots of people use it
It's also somehow satisfying to witness Xamarin's success and further opening of .NET after all the bashing and hating Mono received from the free software community.
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.
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.
But I still hope Microsoft does well, because frankly I like .NET
Competition is great for everybody and Microsoft is making all the right moves!
But not much behind ASP.net.
http://www.techempower.com/benchmarks/#section=data-r8&hw=i7...
And quite a bit ahead of Sinatra
http://www.techempower.com/benchmarks/#section=data-r8&hw=i7...
Then again, so's Perl. The joys of implementation differences.
I find Nancy a lot easier to develop with than ASP.net. You do pay for the expressiveness however.
At work I'm deploying a Nancy based project to parse/process documents into structured data using a 3rd party vendor's SOAP service. There were some unpleasant compatibility issues with the SOAP service and our Perl server's SOAP client and zero logging so I took the service's source code (so glad the Vendor provided it) and replaced the WebService portion of it with a thin Nancy controller to route the calls and return JSON. Since most of the processing time is spent chewing on the files Nancy's overhead isn't an issue and Nancy made it dead simple to code.
There are a number of things people are doing, based on Linux, which are basically using Linux as an OS and then layering on some custom drivers or such into a product. Whether its a web 2.0 company using it as the server OS or an embedded signage company. All of these were "impossible" when you had to have your own OS team to support them, and Microsoft benefited from that. Now the OS "maintains itself" (such as it is) and so businesses get everything they got from employing Microsoft tools but at a much lower effective cost. They don't need to pay big license fees, they don't need to hire programmers to maintain a lot of code that isn't central to their product, and they don't have to spend a lot of money/time training people on their own infrastructure. That is a pretty big change.
Its nice to see folks realize it isn't the software that is valuable, its the expertise to use it that has value. By open sourcing the C# compiler Microsoft greatly increases the number of people who will develop expertise in using it and that will most likely result in an increase of use.
And here's some notes on bridging between Haskell and Unity http://lambdor.net/?p=321
That's not to say Unity is better, it was just easier to use.
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.edit: Ah nice, Apache 2 license explicitly calls out a patent license is granted for use. I wonder how much cajoling it took to get the lawyers to agree to that!
See Locke1689's comments here, especially:
https://news.ycombinator.com/item?id=7524722
"the native C# compiler (that's what we call the old C# compiler that everyone's using in VS right now)"
Really, this seems better than opening up the old compiler that they're moving away from.
You can view and download the whole .NET source here: http://referencesource.microsoft.com/
Is this the return of the original MS?
Certainly Microsoft wouldn't mind just throwing some millions at them and buying them outright, so are we to deduce that any such offer was rejected?
Teams under his lead have been open sourcing things in expanding significance for years. As Scott has been steadily climbing the Microsoft chain of command and with each step of the ladder it seems larger projects got open sourced.
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]
Edit: I confused roslyn with the recently announced AOT compiler.
Makes me think of Sun open sourcing Java.
So while this development is positive, one should take it with a grain of salt. MS still can't be just trusted blindly.
Here's to hoping that Microsoft goes beyond the compiler and open-sources the VM and the whole standard library too - .NET and C# always had great potential, it's a pity that Microsoft saw it as a way to sell Windows. And I hope they realize they have a long way to go before they catch up.
http://roslyn.codeplex.com/SourceControl/latest#Src/Compiler...
Something I've just learned from looking at the code is you can jump between cases in a switch statement :
switch (a) {
case '1':
...
case '2':
goto case '1';
}
Never realised you could do that.Although there is no reason why they wouldn't use goto. The oft-cited "goto statement considered harmful" was in a very different context and basically just ranted against using goto when there are control structures that make intent clearer.
[1] http://www.microsoft.com/en-us/download/details.aspx?id=1412...
It has actively been pushed by some of Microsoft's evangelists (Phil Haack (ex employee, works at github now i think) and Scott Hansselman to say the more popular names).
I believe they got some playfield to do things and now the community has more and more impact (eg. Nuget and software like myget which is based on Nuget (Nuget for Enterprise))
Also, the CEO isn't Balmer anymore, that probably helps to.
[0] - http://roslyn.codeplex.com/SourceControl/list/changesets?pag...
With Valve pushing their Debian fork and more gaming support for Linux in the last time, Microsoft wan't to appeal to the Open Source community the reduce the "bashing" which ... which could actually loose some force behind it. Not that it could actually benefit Linux with better Mono support etc.
Microsoft, please add unix terminal instead of start button in Windows 8.
You can always use a bash/cygwin prompt for that if you want.
I think this will help .Net devs make smarter decisions about their code now that they can see what's happening in the background.
Generally I've not been very impressed with the quality of Android's documentation and firmly believe a company such as Google can do better. And after having a look at the process around getting a patch approved I deemed it not worth my time trying to contribute documentation fixes and enhancements.
What does this mean for the future of C# on Linux?
It's not an advertising company like Google. Google makes money when you use the Internet; Microsoft makes money when you pay for its software.
Microsoft's endgame is in sight.
I suspect that Microsoft is trying to fight their way into the Server space where Linux installations are prevalent by offering services via Azure.
So, for example, you have an extensive Linux environment running critical back-end services. You can have a BASH script which generates C# code, compiles it and eventually deploys it to Azure. This is I think a fantasy scenario that Microsoft is envisioning.
I don't understand what you're trying to say here. The roslyn compiler can generate code that can be run on the Mono VM. It was even demonstrated by Miguel on stage.
You'd also need something to run the roslyn compiler on linux, and that again would be mono.
Visual Studio will be using the roslyn compiler in the next version also.
Azure doesn't really have anything to do with this. It's an open source compiler that can run on the .NET VM or the Mono VM, and generate output for either.
Also, I read a lot of comments saying this way good for mono ... how is this ? Wouldn't an open source CLR be more useful ?
But, I dunno. I'm extremely skeptical of Microsoft's ability to put long-term momentum into any of their non-core strategies. All these things are one re-org away from becoming basket cases.
Case in point: XNA
git clone https://github.com/microsoft/windows.git
to happen