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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events