4 月3日,微软向公众发布了Roslyn编译器项目,该项目采用了Apache开源许可协议。C#的创始人 Anders Hejlsberg在Build大会的第二场主题演讲中将这一令人震惊的消息公之于众。微软向Roslyn项目投入了大量人力物力,从头重写了C#和VB.NET的编译器,同时向开发人员开放了编译过程,以便他们提供更好的工具和编辑器支持。

如今整个项目都发布在微软的CodePlex站点上,无论是在Windows下,还是在其它平台下,任何开发人员都可以免费获得 。如果机器安装了Git,还可以通过一次clone操作直接获得整个项目。

如果想尝试一下Roslyn,可以到Connect站点上下载预览版。如果想更深入地了解源代码,并在自己的环境中编译源代码,以满足自己测试和实验的需要,则需安装Visual Studio 2013专业版(或更高版本)、Visual Studio 2013 SDKVisual Studio 2013 Update 2 RC,以及.NET编译器平台最终用户预览版(.NET Compiler Platform (Roslyn) End User Preview)。

Roslyn主页上的“项目路线图(roadmap)”页面中罗列了很多正在开发的功能,绝大部分都是一些特性添加和质量提升。“项目状态”页面则主要显示了C#和VB新功能开发的最新状态。

这次发布的作为.NET基础的核心技术,标志着 微软在思想上的重大变化。尽管CLR不开源,但是能看到编译器,也能为各个平台的开发者带来好处。(例如,Mono的CLR允许Roslyn生成的代码在非微软平台上运行)。

英文原文: C# Compiler Released As Open Source

http://www.infoq.com/news/2014/04/roslyn_oss

QQ群:287566232

点击链接加入群【c# 编译器 Roslyn】:http://jq.qq.com/?_wv=1027&k=errCCb

百度网盘下载:http://pan.baidu.com/s/1eQAb7Uy 【2014.11.11】

Today Microsoft has released the Roslyn compiler project to the public, under the Apache open source license.  This stunning announcement was made during Build’s second keynote by C# creator Anders Hejlsberg.  Roslyn represents the significant investment Microsoft has made in rewriting its C# and VB .NET compilers from scratch while opening up the compilation process to developers to promote better tooling and editor support.

Now the entire project is available on Microsoft’s CodePlex, freely available for use by all developers whether they are on Windows or otherwise.  With Git installed, you can obtain the project directly via a clone operation.

If you only want to try out Roslyn, the preview is available on Connect.  If you want to truly dig into the code and compile it on your own environment for testing and experimentation, you will need VS2013 Professional or higher, the Visual Studio 2013 SDK, VS2013 Update 2 RC, and the .NET Compiler Platform (Roslyn) End User Preview.

The roadmap listed on Roslyn’s project page lists numerous items under development most of which can be classified as a feature addition or quality improvement.  A status page exists to list the current state of new features being written for C# and VB.

Today’s release of key technology at the foundation of .NET marks an important shift in Microsoft’s thinking.  While the runtime (CLR) is not open source, the compiler’s visibility should lead to improved benefits for all regardless of their platform.  (The Mono project’s CLR allows non-Microsoft platforms to run the code produced by Roslyn.)

http://www.infoq.com/news/2014/04/roslyn_oss


c# 编程语言 编译器 Roslyn的更多相关文章

  1. 微软宣布成立.NET基金会全面支持开源项目 包括C#编译器Roslyn【转】

    基金会初始董事包括 Mono 项目和 Xamarin 的老大 Miguel de Icaza,微软 .NET 团队代表和微软开放技术公司(这是微软专门为开源和开放技术.标准化成立的独立公司)代表. 首 ...

  2. .Net 新一代编译器 Roslyn 会带来怎样的影响?

    .Net 新一代编译器 Roslyn 会带来怎样的影响? Roslyn是微软创建的一个.NET编译器平台,该项目于2014年4月3日开源. 最初 C# 语言的编译器是用 C++ 编写的,后来微软推出了 ...

  3. 推荐一个WebIDE在线编程语言编译器C9.io

    有时借用别人电脑或者不想在电脑上安装各种乱七八糟的IDE,就可以考虑 Web IDE.随着Web技术发展,很多语言的编译工作都可以利用Web 浏览器来完成. 1. 推荐国外的 C9.io 个人可以免费 ...

  4. 使用 Roslyn 编译器服务

    .NET Core和 .NET 4.6中 的C# 6/7 中的编译器Roslyn 一个重要的特性就是"Compiler as a Service",简单的讲,就是就是将编译器开放为 ...

  5. 用 C# 编写 C# 编译器,先有鸡还是先有蛋?

    前段时间翻译了一篇文章 微软是如何重写 C# 编译器并使它开源的,文章讲了微软用 C# 重写 C# 编译器的坎坷路,引发了一些童鞋的思考:用 C# 编写 C# 编译器(Roslyn),那么 C# 编译 ...

  6. Linux C编程学习之开发工具1---GCC编译器

    GCC简介 GCC(GNU Compiler Collection)是一套功能强大.性能优越的编程语言编译器,它是GNU计划的代表作品之一.GCC以GPL和LGPL许可证发行,它是类Unix和苹果电脑 ...

  7. 转:GCC,LLVM,Clang编译器对比

    GCC,LLVM,Clang编译器对比   转自: http://www.cnblogs.com/qoakzmxncb/archive/2013/04/18/3029105.html 在XCode中, ...

  8. BHP编译器教程

    BHP编译器教程 BHP是一个WEB模版编程语言编译器,生成PHP后端代码. 最简单的Helloworld例子 编写一个hello.bhp文件 <? $hello="hello,wor ...

  9. GCC编译器入门

    GCC(GNU Compiler Collection,GNU编译器套件),是由 GNU 开发的编程语言编译器.它是以GPL许可证所发行的自由软件,也是 GNU计划的关键部分.GCC原本作为GNU操作 ...

随机推荐

  1. AndroidStudio小技巧--依赖库

    同步发表于http://avenwu.net/2015/02/12/androidstudio_library_dependency Fork on github https://github.com ...

  2. webdriver实用指南迁移至gitbbok并改名为selenium webdriver从入门到提高

    背景 几年前我写了一本关于selenium webdriver的小册子,主要讲了一些selenium在进行测试过程中会遇到的场景以及解决方案,陆陆续续在github上收到了100+的star,在这里我 ...

  3. WPF 设置程序开机自动运行(+注册表项)

    #region 设置程序开机自动运行(+注册表项) RegistryKey rgkRun = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Micr ...

  4. centos 7 /etc/rc.local 开机不执行的问题

    最近发现centos7 的/etc/rc.local不会开机执行,于是认真看了下/etc/rc.local文件内容的就发现了问题的原因了 1 2 3 4 5 6 7 8 9 10 11 #!/bin/ ...

  5. magic_quotes_gpc 、 magic_quotes_runtime 、 magic_quotes_sybase 介绍

    一.三个配置项的作用与区别 magic_quotes_gpc 作用:对php服务器端接收的 GET POST COOKIE 的值执行 addslashes() 操作.作用范围是:WEB客户服务端.作用 ...

  6. distri.lua的web运维工具

    我的新手游项目很快就要进入到寻找发行商的环节,最近几天相对较空闲,逐将工作重心转移到服务器组运维工具的制作上. 回想一年之前经历的那个不算成功的端游项目,因为运维工具设计得不合理,使用十分不方便,游戏 ...

  7. TokuDB调研文档

    另见链接:http://note.youdao.com/share/?id=77dd1e9cc139b57586665f702467c56a&type=note   安装 安装主要包括两种方法 ...

  8. 浅析 mondrian 模式文件 Schema

    1.前言 前面几篇文章一经介绍过saiku.模式文件和MDX的关系.通俗点说模式文件(Schema)就是一个xml,里面定义了一个虚拟立方体,共MDX查询语言使用. 2.模式文件 Schema 最顶层 ...

  9. Solution to “VirtualBox can't operate in VMX root mode” error in Windows 7

    I was trying out various virtualization solutions on Windows 7, including Microsoft Virtual PC and V ...

  10. an introduction to conditional random fields

    1.Structured prediction methods are essentially a combination of classification and graphical modeli ...