2008年8月22日 星期五

Mono spec

ECMA standard ECMA-335 (http://www.ecma-international.org/publications/standards/Ecma-335.htm) .
Common Language Infrastructure(CLI) == Common Language Runtime(CLR)??


Common Language Specification(CLS)
This is specified in ECMA-335 ,chapter 6. It defines the interface to the CLI



ECMA Standard 334 (http://www.ecma-international.org/publications/standards/Ecma-334.htm) , the C# language specification.

ECMA Standard 335 (http://www.ecma-international.org/publications/standards/Ecma-335.htm) , the Common Language Infrastructure.


Managed and Unmanaged Code
Within a native .NET/Mono application, all code is managed ; that is, it is governed by the CLI's style of memory management and thread safety.

.NET/Mono applications can use legacy code, which is referred to as unmanaged , by using the System.InterOpServices libraries to create C# bindings.
Many of the libraries which ship with Mono use this feature of the CLI; in particular, the Gtk# libraries are C# wrappers around the underlying C libraries.

沒有留言: