Mono 2.8發布:C#4.0和更好的效能

來源:互聯網
上載者:User

在社區很多人不看好的微軟.NET開源實現Mono發布了Mono 2.8,這是一個重要的版本更新,有著顯著的改善,Mono 2.8包括C#4.0的支援(也是現在的預設配置),新一代的記憶體回收行程,新的架構,LLVM的支援,目前被認為是穩定的,2.0版本的embedding API ,對OpenBSD的支援,移除了對GLib的依賴,並有.NET 2.0的線程池的異常行為。
新的微軟的開源協議的架構套件括ASP.NET 4.0,並行架構,System.XAML,System.Dynamic,Managed Extensibility Framework ,ASP.NET MVC2,System.Data.Services.Client,WCF Route和.NET 4.0的CodeContracts。

  • C# 4.0
  • Defaults to the 4.0 profile
  • New Generational Garbage Collector
    • Use mono --gc=sgen or mono-sgen to use Mono with the new GC
  • New Frameworks from Mono MIT X11 and Microsoft MS-PL/Apache2:
    • ASP.NET 4.0
    • Parallel Framework: including PLINQ.
    • System.XAML
    • System.Dynamic
    • Managed Extensibility Framework
    • ASP.NET MVC 2
    • System.Data.Services.Client (OData client framework)
    • WCF Routing
    • .NET 4.0's CodeContracts
  • Performance:
    • Large performance improvements
    • LLVM support has graduated to stable
      • Use mono-llvm command to run your server loads with the LLVM backend
  • Version 2.0 of the embedding API
  • Removed the 1.1 profile and various deprecated libraries.
  • OpenBSD support integrated
  • Mono no longer depends on GLIB
  • Threadpool exception behavior .NET 2.0

更詳細的說明參看:Mono 2.8 Release Notes,我在OpenSuse 11.3安裝了下,很順利就更新到了Mono 2.8,附安裝的日誌:

linux-4ugu:~> su
Password:
linux-4ugu:/home/geffzhang # zypper addrepo http://ftp.novell.com/pub/mono/download-stable/openSUSE_11.3 mono-stable
Adding repository 'mono-stable' [done]
Repository named 'mono-stable' already exists. Please use another alias.
linux-4ugu:/home/geffzhang # zypper refresh --repo mono-stable
Repository 'mono-stable' is up to date.
Specified repositories have been refreshed.
linux-4ugu:/home/geffzhang # zypper dist-upgrade --repo mono-stable
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following NEW packages are going to be installed:
  libmono-2_0-1 libmono-llvm0 mono-mvc

The following package is going to be REMOVED:
  mono-jscript

The following packages are going to be upgraded:
  apache2-mod_mono art-sharp2 gconf-sharp2 glade-sharp2 glib-sharp2 gnome-sharp2 gnome-vfs-sharp2 gtkhtml314-sharp
  gtk-sharp2 libgdiplus0 mono-addins mono-basic mono-core mono-data mono-data-oracle mono-data-sqlite mono-debugger
  mono-devel monodevelop monodevelop-debugger-gdb monodevelop-debugger-mdb monodoc-core mono-extras mono-tools
  mono-wcf mono-web mono-winforms webkit-sharp xsp

The following package is going to change vendor:
  monodevelop  obs://build.opensuse.org/Mono -> Novell, Inc.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.