News

Microsoft "Roslyn" CTP Refresh Targets Visual Studio 2012 RC

The second hands-on look at Microsoft's upcoming compilers-as-a-service technology is now available to developers in a June 2012 Community Technology Preview.

Microsoft is re-architecting its C# and Visual Basic compilers as public APIs in a longstanding development project, codenamed "Roslyn." The first hands-on look at the compilers- as-a-service technology was available to developers as a Community Technology Preview (CTP) in October 2011.

On Tuesday, Microsoft released a "Roslyn" June 2012 CTP refresh that supports the Visual Studio 2012 Release Candidate and Visual Studio 2010 SP1. The Roslyn compiler and language services are not part of the Visual Studio 2012 release cycle, however. The purpose of the "Roslyn" June 2012 CTP is to get developer feedback.

Microsoft Corporate Vice President Jason Zander, who is in charge of Visual Studio, explained the timing of the release in his blog on Tuesday:

Replacing a compiler that is responsible for running a big chunk of the Internet and rich client applications is not something one does lightly. Our general approach for re-architecting the compilers is to complete them before entering a product cycle. That way, we can use them and ensure they have high quality throughout the cycle. Because of this, Roslyn is not shipping as part of Visual Studio 2012 and will ship in a future VS release instead. However, we want to enable anyone who has VS 2012 installed to explore the Roslyn APIs and use the C# Interactive Window. To allow this, the CTP refresh will install on both Visual Studio 2012 RC and Visual Studio 2010 SP1 (note that VS 11 Beta is not supported).

The "Roslyn" June 2012 CTP has breaking changes. CTP2 includes major API changes, additional language features and code samples, according to Microsoft. The first CTP previewed the new language object models (code generation, analysis and refactoring), an interactive C# Window and an upcoming Scripting API.

Anthony D. Green, Microsoft program manager for the Visual Basic and C# languages team, offered a detailed outline of what's new in CTP2. Work has been done on the Compiler, Service and Services Editor APIs. Microsoft has also implemented more language features, and the list this time is longer for Visual Basic than C#. Updates to both languages include support for Anonymous Types, Attributes, Generic Constraints and Query Expressions among other features.

"While the shape of the public API is complete, only a subset of the VB and C# languages have been implemented at this time," stated Green as a disclaimer in his What's New in the Roslyn June 2012 CTP post on the Microsoft "Roslyn" CTP Forum.Get the Roslyn June 2012 CTP download here.

About the Author

Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.

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