【正文】
相反,JIT編譯器不僅可以進行Visual Studio 6所能完成的優(yōu)化工作,還可以優(yōu)化代碼所運行的特定處理器。即編譯器不知道代碼所運行的處理器類型,例如該處理器是X86兼容處理器還是Alpha處理器,這超出了基本操作的范圍。傳統(tǒng)的編譯器會優(yōu)化代碼,但它們的優(yōu)化過程是獨立于代碼所運行的特定處理器上的。這解釋了為什么托管IL代碼的執(zhí)行幾乎和內(nèi)部機器代碼的執(zhí)行速度一樣快,但是并沒有說明為什么Microsoft認為這會提高性能。Microsoft認為這個工程要比一開始就編譯整個應(yīng)用程序代碼的效率高很多,因為任何應(yīng)用程序的大部分代碼實際上并不是在每次運行過程中都執(zhí)行。JIT編譯器并不是把整個應(yīng)用程序一次編譯完,而是只編譯它調(diào)用的那部分代碼。提高性能前面把IL和Java做了比較,實際上,IL比Java字節(jié)代碼的作用還要大。換言之,這與編譯為Java平臺無關(guān)性是一樣的。對于代碼來說,這種精心設(shè)計的通用語法有很重要的優(yōu)點:平臺無關(guān)性、提高性能和語言的互操作性。這兩個階段的編譯過程非常重要,因為Microsoft中間語言(托管代碼)。編譯分為兩個階段:把源代碼編譯為Microsoft中間語言(IL)。通常將在CLR的控制下運行的代碼稱為托管代碼(managed code)。而C語言支持的另一些特性,.NET卻并不支持(例如運算符重載)!但是,因為C,所以如果要使用C高效的開發(fā)應(yīng)用程序,理解Framework就非常重要。有一個很重要的問題要弄明白:C就其本身而言只是一種語言。(.Net Framework是一個功能非常豐富的平臺,可開發(fā)、部署和執(zhí)行分布式應(yīng)用程序)。: 電子工業(yè)出版社,2012.[11]《HTML/CSS/JavaScript 標(biāo)準教程》編委會. HTML/CSS/:.[12] 單東林,張曉菲,魏然. :.英文資料翻譯原文The Relationship of C to . NETC is a relatively new programming language and is significant in two respects:l It is specifically designed and targeted for use with Microsoft ’ s .NET Framework (a feature – rich platform for the development, deployment, and execution of distributed applications).l It is a language based on the modern object oriented design methodology, and, when designing it, Microsoft learned from the experience of all the other similar languages that have been around since object oriented principles came to prominence some 20 years ago.One important thing to make clear is that C is a language in its own right. Although it is designed to generate code that targets the .NET environment, it is not itself part of .NET. Some features are supported by .NET but not by C, and you might be surprised to learn that some features of the C language are not supported by .NET (for example, some instances of operator overloading)!However, because the C language is intended for use with .NET, it is important for you to have an understanding of this Framework if you want to develop applications in C effectively. Therefore, this chapter takes some time to peek underneath the surface of .NET. Let’s get started.The Common Language RuntimeCentral to the .NET Framework is its runtime execution environment, known as the Common Language Runtime (CLR) or the .NET runtime . Code running under the control of the CLR is often termed managed code .However, before it can be executed by the CLR, any source code that you develop (in C or some other language) needs to be piled. Compilation occurs in two steps in .NET:1) Compilation of source code to IL.2) Compilation of IL to platform specific code by the CLR.This two stage pilation process is very important, because the existence of the IL (managed code) is the key to providing many of the benefits of .NET.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, performance improvement, and language interoperability.Platform IndependenceFirst, platform independence means that the same file containing byte code instructions can be placed on any platform??偟膩硎?,這個項目做下來,期間少不了的酸甜苦辣,興奮于某個功能的實現(xiàn),也糾結(jié)過卡住無能為力的時刻,一路走來,悲喜交加,最終圓滿的完成了畢業(yè)設(shè)計,以前的千般幸苦華為喜悅。增強了系統(tǒng)的功能。更深刻的了解了用戶體驗的重要性,所以在開發(fā)中也著重將用戶體驗的界面友好度做了優(yōu)化,使得程序更易操作,界面更加美觀。首先,古人云,謀定而后動,所以前期完整詳細的全局設(shè)計對后期的具體編碼是至關(guān)重要的,只有在前期做好詳細的需求分析和設(shè)計后才能避免在后期的開發(fā)中出現(xiàn)盲目編碼的情況,或者功能模塊不協(xié)調(diào)的狀況,不至于在后期出現(xiàn)牽一發(fā)而動全身的大的改動。此時打開瀏覽器,在地址欄輸入服務(wù)器IP地址即可進入系統(tǒng)的登錄頁面,輸入帳號密碼進入系統(tǒng)。 5.啟動Ultrant Media Server服務(wù)(默認為啟動),然后打開Ultrant Media Server服務(wù)管理器配置服務(wù),將IP地址和端口還有路徑設(shè)置改為實際的參數(shù)。UMS為默認必須安裝,在這里可以選擇是否安裝Nginx作為您的Web Server,此處不安裝。()。然后雙擊默認文檔,點擊添加。l 發(fā)布網(wǎng)站到一個文件夾,如D:\rootl 安裝IIS在控制面板中進入添加/刪除程序,選擇打開或管理Windows功能,選擇IIS相關(guān)組件后確定安裝。邀請朋友訪問網(wǎng)站進行測試,測試內(nèi)容包括界面的美觀性、用戶操作友好度、遠程訪問的流暢性及程序的可靠性,同時使用不同的瀏覽器對網(wǎng)頁進行渲染顯示測試網(wǎng)站的兼容性,測試瀏覽器包括國際知名的Internet Explore 9,F(xiàn)ireFox 12,Chrome 19,Opera 11,Safari 5等。第六章 測試與發(fā)布1.白盒測試本系統(tǒng)的白盒測試主要是在程序調(diào)試的過程中對每一個完成的功能單元的測試,在程序中各需要的部分設(shè)置斷點,跟蹤程序運行流程,找出程序中存在的錯誤,反復(fù)重復(fù)此步驟,確保程序運行正常,功能正常實現(xiàn)。script type=text/javascript src=js/CKEditor//scriptCKEditer文件列表,見圖510見圖510 CKEditer文件新聞列表見圖511圖511 新聞列表顯示新聞列表,并可對新聞進行刪除和查看詳細內(nèi)容。/script)。抱歉,發(fā)布失敗,插入數(shù)據(jù)錯誤!39。text/javascript39。)/script)。(39。 (script type=39。)。alert(39。 } } else { if ((mess)) { (script type=39。)。alert(39。 } else { (script type=39。39。text/javascript39。/script)。恭喜,發(fā)布成功!39。text/javascript39。 if ( 0) { = ([0][MessageID].ToString())。 = 。 = Session[empid].ToString()。 = ()。圖58 公告發(fā)布發(fā)布公告,公告將顯示在主頁的公告顯示區(qū),沒發(fā)布一次新公告將替換就公告,保持最新。 (resid)。/script)。上傳失??!++39。text/javascript39。 } } catch (Exception ex) { [style] = display:none。 = 。)。alert(39。 (script type=39。 serName != flvname) { ()。 if ( amp。 (resid)。)。alert(39。 (script type=39。 = 。/script)。上傳成功!39。text/javascript39。 if (()) { [style] = display:none。 } ((serName), )。/script)。上傳失敗!39。text/javascript39。 if (resid == 1) {