搜尋本站文章

2007-11-13

讓 .NET 跨平台執行的猴子[Mono]



.NET Framework 已被提交到 ECMA/ISO 成為公開的標準。目前筆者找到可以使用 Mono Project 來讓 .NET 程式在 Linux, Solaris, Mac OS X, Windows, and Unix 等作業系統上面執行。關於硬體平台部分,目前 Mono 也已經支援 32-bit 與 64-bit 的 x86、PowerPC、SPARC等主機。




Mono 計畫包含 Runtime、 Classes、 Gtk# 、ASP.NET、ADO.NET、C# Compiler 與 VB Compiler。主要的功能是:Multi-platform. Based on the ECMA/ISO standards. Runs ASP.NET and Winforms applications. Can run .NET, Java, Python and more. Open Source, Free Software. Commercially supported. Comprehensive technology coverage.


相關的軟體:

  • DebianPackages:asp.net-examples - demo pages for ASP.NET infrastructure
  • DebianPackages:libmono-dev - libraries for the Mono interpreter - Development files
  • DebianPackages:libmono0 - libraries for the Mono interpreter
  • DebianPackages:mono - The Mono .NET development environment
  • DebianPackages:mono-assemblies-arch - architecture specific Mono .NET class libraries
  • DebianPackages:mono-assemblies-base - the Mono .NET class libraries
  • DebianPackages:mono-common - common files for the Mono CLI runtimes
  • DebianPackages:mono-jay - LALR(1) parser generator oriented to Java/.NET
  • DebianPackages:mono-jit - fast CLI (.NET/Mono) JIT compiler
  • DebianPackages:mono-mcs - the Mono C# compiler
  • DebianPackages:mono-mint - generic CLI (.NET/Mono) code interpreter
  • DebianPackages:mono-utils - Mono utilities
  • DebianPackages:mono-xsp - simple web server to run ASP.NET applications

Mono project 由 2001 年發展至今,已經可以支援 .NET Framework: 1.0, 1.1, 2.0 與 3.0 。目前最新的版本是 1.2.5,主要支援以下的功能:

  • VB.NET compiler and runtime were released.
  • 2.0 support completed for Web Services (Generics).
  • ASP.NET WebForms are complete (except for WebParts).
  • Extensive improvements to Windows.Forms and 2.0 updates for it.
  • Release of Mono Migration Assistant.
  • Partial C# 3 support and System.Core assembly.
  • System.Media implemented.
  • HTTPS support in HttpListener.
  • 2.0 Socket API.
  • Improved fidelity and performance of System.Drawing, added support for Metafiles.
  • ADO.NET 2.0 updates, and support for output parameters on stored procedures.

... 等等

計畫在 Mono 2.0 版本中,加上:

  • Complete core class libraries support.
  • Windows.Forms 2.0 (preview).
  • Visual Basic Compiler (VBNC)
  • Updated System.Drawing to use Pango.
  • Tools for Windows Developers (Moma, Gendarme for portability).
  • GUI Debugger.


    可以參考以下的資料計畫首頁: http://www.go-mono.com/

開發手冊: http://go-mono.com/tutorial/
http://www.mono-project.com/Main_Page

Mono的 Wiki說明 http://zh.wikipedia.org/wiki/Mono

比較有趣的問題是:
何謂 "Mono"呢?"Mono" 這個字是西班牙語的 "猴子" 之意。
因為開發的專案團隊喜歡 "猴子"。


Best Regards

Derrick Chen 德瑞克