Selecting the Best Compiler Options選擇最好的編譯器選項
The fundamental questions 根本問題
There are two questions that you need to ask when compiling your program:有兩個問題,你要問,當編譯您的程序:
1. 1 。 What do I know about the platforms that this program will run on?我該怎麼辦了解的平台,這一計劃將上運行?
2. 2 。 What do I know about the assumptions that are made in the code?我該怎麼辦知道的假設是,在代碼?The answers to these two questions determine what compiler options you should use.回答這兩個問題確定哪些編譯器選項你應該使用。
The target platform 目標平台
What platforms do you expect your code to run on?哪些平台你期望您的代碼上運行? The choice of platform determines:選擇平台的決定:
1. 1 。 32-bit or 64-bit instruction set 32位或64位指令集
2. 2 。 Instruction set extensions the compiler can use指令集擴展編譯器可以使用
3. 3 。 Instruction scheduling depending on instruction execution times指令調度,視乎指令執行時間
4. 4 。 Cache configuration緩存配置The first three are often the most important ones.首3往往是最重要的。
Read the閱讀 full article充分的文章 here; strongly recommended.在這裡;強烈建議。
Filed under提起下 Java Software Java軟件 , , Web網頁 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




