News

Microsoft Makes 'Roslyn' Compiler Open Source

Also announced was a new interop organization called The .NET Foundation.

Microsoft Technical Fellow and coding legend Anders Hejlsberg looked down at his display, where the large button titled "Publish" lay underneath his finger. He pushed the button, which was linked to a project on CodePlex. With that, he announced "Roslyn is now open source!"

Huge applause from the audience at Build 2014 followed. With that push of a button -- live onstage during the Day 2 keynote -- Microsoft took what many believe is a giant leap forward in the world of interoperability.

"Roslyn" was the code name for Microsoft's .NET Compiler Platform. Hejlsberg's action opened up the C# and Visual Basic compilers as APIs, giving developers access that would have been unheard of from Microsoft just a few years ago.

It was the highlight of a keynote that demonstrated Microsoft's drastic shift from being a proprietary code company to one of the most cross-platform-friendly companies in the industry.

In addition to open sourcing Roslyn, Microsoft also announced a new organization for open sourcing technology: the .NET Foundation. "The .NET Foundation will be the steward of a growing collection of open source technologies for.NET, Microsoft's comprehensive development framework," states the homepage of the Web site.

The Foundation kicks off with 24 .NET Framework open source projects, including Roslyn. Other projects on that list include:

  • Entity Framework
  • ASP.NET MVC
  • ASP.NET Web API
  • ASP.NET SignalR
  • Managed Extensibility Framework (MEF)
  • Windows Azure .NET SDK
  • .NET Map Reduce API for Hadoop

The Foundation emphasized the involvement of Miguel de Icaza, CTO and co-founder of Xamarin, which allows developers to use C# to build apps for iOS and Android devices. Also listed as participants in the Foundation were Laurent Bugnion (IdentityMine), Niels Hartvig (Umbraco), Nigel Sampson (Compiled Experience), Anthony van der Hoorn (Glimpse) and Paul Betts.

Eric Lippert, a former Microsoft employee who served as a principal developer on the C# compiler team and a member of the C# language design team, stated on his blog that Microsoft's license terms for Roslyn demonstrated Microsoft's commitment to this new openness. "What astonished me was that its not just a "reference" license, but a full on liberal Apache 2.0 license."

The .NET Compiler Platform can be found here.

 

About the Author

Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube