Multilanguage Projects

Chapter 16

Multilanguage Projects

The Microsoft .NET paradigm is in principle multilanguage. You can derive your class from another class that has been declared in an assembly produced by someone else, and you don’t need to worry about how the language you are using relates to the language used to write the other assembly. You can create a multimodule assembly, each module of which is written in a different language.

What you can’t do so easily, however, is to build a single-module assembly using different languages. This means that once you’ve selected a development language for your single-module assembly, you must accept all the limitations of the selected language.

IL assembly language (ILAsm) offers a way to resolve this problem. ILAsm, as a platform-oriented and ideologically neutral language, provides a natural common base for the high-level, pure-IL languages. Because of this, ILAsm can be used as an intermediate stage for multilanguage projects. Most of the high-level language compilers don’t actually use ILAsm as their base language, but this can be easily helped by the use of the IL Disassembler (ILDASM).



Inside Microsoft. NET IL Assembler
Inside Microsoft .NET IL Assembler
ISBN: 0735615470
EAN: 2147483647
Year: 2005
Pages: 147
Authors: SERGE LIDIN

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net