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

  • 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