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

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube