mono是一个开源的跨平台的.net运行环境,支持unix, windows, macos等操作系统。 mono 2.10是基于mono在github上的主分支mono 2.8的一个重要升级,发布于2011年2月15日。 mono 2.10主要更新和改进: google native client support 支持google本地客户端,允许
mono是一个开源的跨平台的.net运行环境,支持unix, windows, macos等操作系统。
mono 2.10是基于mono在github上的主分支mono 2.8的一个重要升级,发布于2011年2月15日。
mono 2.10主要更新和改进:
google native client support
支持google本地客户端,允许本地代码在浏览器中运行。mono虚拟机,垃圾收集器和just-in-time编译器可以运行于本地客户端的沙箱中。
new profiler engine
新版profiler解决了原先的profiler在处理多线程、multi-appdomain应用程序以及大数据量时的诸多问题,gc新增的触发事件让开发者可以针对自己的程序编写更先进的profiling工具和gc tracking工具。
faster socket stack
更快的socket堆栈,socket异步操作直接发送至io池,节约了内存和cpu时间。socketasynceventargs支持每个操作使用一个线程。
improved parallel framework
增加的并行框架。
sgen precise stack scanning and many performance improvements.
sgen(mono的垃圾收集器)的精确堆栈扫描和性能增强,欲更多了解sgen,请阅读这里。
unified monotouch/monodroid runtime support
统一的monotouch/monodroid运行时支持。
cecil/light
cecil是一个可以生成ecma cil的类库(有点类似于.net中的reflector),可以用它加载存在的程序集,浏览其中的类型,修改其中的代码,并将修改后的代码保存至程序集中。
new c# compiler backend (can now use any custom mscorlib)
新的c#后台编译器,基于 ikvm.reflection api ,允许开发者引用第三方的mscorlib.dll、或者自己定制的mscorlib.dll、或者来自其他项目的(比如:微软的 microframework)。下一版本的mono,batch compilers (gmcs, smcs与dmcs)将全部切换至ikvm.reflection。
vb compiler can now compile to both 2.0 and 4.0 profiles.
vb编译器用cecil/light取代原来的reflection,这样可以通过一个编译器生成使用不同版本运行时的程序集。
supports asp.net mvc3, razor and new webpages.
支 持asp.net mvc 3, razor, webpages。虽然asp.net mvc 3是开源的,但它依赖一些非开源的类库,而且这些类库并不是.net framework的一部分。mono中没有这些类库的开源实现,所以asp.net mvc 3应用程序不能无缝地运行于mono,你需要移除对microsoft.web.infrastructure.dll的引用,使用mono自己的实现。 razor与webpages可以直接使用微软.net的程序集运行于mono。
new webmatrix.data database api.
微软webmatrix.data的mono实现。通过这个api,可以利用c# 4.0的动态特性编写数据库访问代码(代码示例re-introducing webmatrix.data。
improved osx mono
提供了一些osx mono的更新。
f# and ironruby
从mono 2.10开始,将f#编译器和工具打包进来。在linux安装包和mac安装器中包含了ironruby 和ironpython。
其他改进:
winforms bug fixes
updates to msbuild
improved moonlight support, and faster build times for moonlight
wcf:
system.servicemodel.discovery
wcf 4.0-style configuration
asp.net 4.0:
basemenurenderer
sytem.xaml: significant improvements on serialization of complex types and properties in .net compatible format. now it can be built on mobile profiles.
more 4.0 apis implemented
version tolerant serialization
c# 4.0 significantly improved based on the microsoft test suites for silverlight
下载地址:http://www.go-mono.com/mono-downloads/download.html
译文连接:http://news.cnblogs.com/n/91304/
http://www.mono-project.com/release_notes_mono_2.10