托管代碼的優(yōu)點(diǎn)-------外文翻譯.doc
約14頁DOC格式手機(jī)打開展開
托管代碼的優(yōu)點(diǎn)-------外文翻譯,advantages of managed codemicrosoft intermediate language shares with java byte code the idea that it is a low-level language with a simple syntax (based on num...
內(nèi)容介紹
此文檔由會員 wanli1988go 發(fā)布
Advantages of Managed Code
Microsoft intermediate language shares with Java byte code the idea that it is a low-level language with a simple syntax (based on numeric codes rather than text), which can be very quickly translated into native machine code. Having this well-defined universal syntax for code has significant advantages.
Platform independence
First, it means that the same file containing byte code instructions can be placed on any platform; at runtime the final stage of compilation can then be easily accomplished so that the code will run on that particular platform. In other words, by compiling to IL we obtain platform independence for .NET, in much the same way as compiling to Java byte code gives Java platform independence.
You should note that the platform independence of .NET is only theoretical at present because, at the time of writing, a complete implementation of .NET is only available for Windows. However, there is a partial implementation available (see for example the Mono project, an effort to create an open source implementation of .NET, at www.go-mono.com/).
托管代碼的優(yōu)點(diǎn)
Microsoft中間語言與Java字節(jié)代碼共享一種理念:它們都是一種低級語言,語法很簡單(使用數(shù)字代碼,而不是文本代碼),可以非??焖俚剞D(zhuǎn)換為內(nèi)部機(jī)器碼。對于代碼來說,這種精心設(shè)計(jì)的通用語法,有很大的優(yōu)點(diǎn)。
1. 平臺無關(guān)性
首先,這意味著包含字節(jié)代碼指令的同一個(gè)文件可以放在任一個(gè)平臺中,運(yùn)行時(shí)編譯過程的最后階段可以很容易完成,這樣代碼就可以運(yùn)行在該特定的平臺上。也就是說編譯為中間語言就可以獲得.NET平臺無關(guān)性,這與編譯為Java字節(jié)代碼就會得到Java平臺無關(guān)性是一樣的。
注意.NET的平臺無關(guān)性目前只是一種可能,因?yàn)樵诰帉懕緯鴷r(shí),.NET只能用于Windows平臺,但人們正在積極準(zhǔn)備,使它可以用于其他平臺(參見Mono項(xiàng)目,它用于創(chuàng)建.NET的開放源代碼的實(shí)現(xiàn),參見http://www.go-mono.com/)。
Microsoft intermediate language shares with Java byte code the idea that it is a low-level language with a simple syntax (based on numeric codes rather than text), which can be very quickly translated into native machine code. Having this well-defined universal syntax for code has significant advantages.
Platform independence
First, it means that the same file containing byte code instructions can be placed on any platform; at runtime the final stage of compilation can then be easily accomplished so that the code will run on that particular platform. In other words, by compiling to IL we obtain platform independence for .NET, in much the same way as compiling to Java byte code gives Java platform independence.
You should note that the platform independence of .NET is only theoretical at present because, at the time of writing, a complete implementation of .NET is only available for Windows. However, there is a partial implementation available (see for example the Mono project, an effort to create an open source implementation of .NET, at www.go-mono.com/).
托管代碼的優(yōu)點(diǎn)
Microsoft中間語言與Java字節(jié)代碼共享一種理念:它們都是一種低級語言,語法很簡單(使用數(shù)字代碼,而不是文本代碼),可以非??焖俚剞D(zhuǎn)換為內(nèi)部機(jī)器碼。對于代碼來說,這種精心設(shè)計(jì)的通用語法,有很大的優(yōu)點(diǎn)。
1. 平臺無關(guān)性
首先,這意味著包含字節(jié)代碼指令的同一個(gè)文件可以放在任一個(gè)平臺中,運(yùn)行時(shí)編譯過程的最后階段可以很容易完成,這樣代碼就可以運(yùn)行在該特定的平臺上。也就是說編譯為中間語言就可以獲得.NET平臺無關(guān)性,這與編譯為Java字節(jié)代碼就會得到Java平臺無關(guān)性是一樣的。
注意.NET的平臺無關(guān)性目前只是一種可能,因?yàn)樵诰帉懕緯鴷r(shí),.NET只能用于Windows平臺,但人們正在積極準(zhǔn)備,使它可以用于其他平臺(參見Mono項(xiàng)目,它用于創(chuàng)建.NET的開放源代碼的實(shí)現(xiàn),參見http://www.go-mono.com/)。
TA們正在看...
- 2015年創(chuàng)建省級農(nóng)產(chǎn)品質(zhì)量安全放心示范縣xx街道實(shí)...doc
- 【精品文檔】xx市固定資產(chǎn)投資“十三五”發(fā)展規(guī)劃.doc
- xx市房地產(chǎn)業(yè)“十三五”發(fā)展規(guī)劃.doc
- xx市金融業(yè)“十三五”發(fā)展規(guī)劃.doc
- xx市社會事業(yè)“十三五”發(fā)展規(guī)劃.doc
- xx市社會信用體系“十三五”發(fā)展規(guī)劃.doc
- xx市外向型經(jīng)濟(jì)“十三五”發(fā)展規(guī)劃.doc
- xx市資源節(jié)約和環(huán)境保護(hù)“十三五”發(fā)展規(guī)劃.doc
- 建安三類人員考試安全生產(chǎn)技術(shù)(c證).doc
- 建筑設(shè)備工程試題集(水暖電全).doc