News

The Open Source Journey of the .NET Compiler Platform, a Year Later

Kasey Uhlenhuth of the Managed Languages Team opens up about lessons learned in Microsoft's efforts to develop the upcoming "Roslyn" compiler with help from the open source community.

It all started with the .NET Compiler Platform -- or, "Roslyn" -- a year ago, and from there, Microsoft has opened up the whole of the project's development to the open source community. On Monday, Kasey Uhlenhuth, a program manager on the Managed Languages Team at Microsoft, chronicled the past year's worth of open source work on the Roslyn compiler on on the .NET Framework blog.

"The decision to make Roslyn open source did not come out of the blue," Uhlenhuth posted, "in our original architecture discussions in 2009, we dreamt of open sourcing our language compilers." What convinced the Roslyn developers to finally take that route a year ago, he said, is the success of other units working on F#, ASP.NET and TypeScript.

The project was managed on the Microsoft CodePlex open source project site at first, but was eventually fully migrated over to the popular GitHub open source source code control repository in January this year. Uhlenhuth said that the group had also been using a "'source open with limited contributions' model" before committing to the transparency of fully developing in the open. He notes that with the more transparent approach, his team has seen contributions increase at a faster pace, and has seen a doubling of community engagements in a third of the time. He said he has also seen exponential growth in the number of users contributing code and steady growth in users contributing issues.

"We file bugs and design notes in GitHub's issue tracking system and submit all of our code changes as pull-requests," blogged Uhlenhuth. "We use GitHub's code review system as our own and use Markdown to link issues or communicate about code. We also established a crisper idea of what we accept for pull-requests, what sign-offs we require for pull-requests to be merged, what style guide we recommend, and what an acceptable time frame for closing a pull-request is (roughly 1o [sic] days, if you were wondering)."

But there are issues that still need to be worked out, according to Uhlenhuth, of which the following three are just a start:

  • Migrating historical issues over to GitHub
  • Issue labels on GitHub
  • Mapping commits to product releases

Roslyn is expected at the same time as Visual Studio 2015.

On a related note, the .NET Foundation has appointed a new executive director. Jay Schmelzer, president of the .NET Foundation, said in a blog that Martin Woodward was hired in the new role to "[ensure] the rapid growth and continued innovation of the .NET open source ecosystem." The .NET Foundation was organized as an independent entity to "foster open development and collaboration around the growing collection of open source technologies for .NET." Woodward will head an advisory council formed in February for ushering more projects into the open source community.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

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