本帖最後由 Super169 於 2014-1-9 18:42 編輯
回復 28# goshigoo
放心, 佢係咪 emulator 唔需要麻煩你去決定, 既然你 quote MSDN 既話, 應該知道 MS 自己點形容:
WOW64 is the x86 emulator that allows 32-bit Windows-based applications to run seamlessly on 64-bit Windows.
....如果佢咁講你都有懷疑既, 可能只係因為你對 emulator 既理解大家唔同.
其實佢同 android emulator 既原理係一樣既, 只不過佢係 emaulate 番一個 32bit 既環境出黎比個 app 行. 你 execute 個 app, 唔係在 cpu 上叫佢行, 而係在 OS 上行的, 再由 OS 轉番落去. 唔係淨係講 cpu instuction, 行一個 program, 經好多層至去到 hardware level 既, 你好似忘記左中間有個 OS.
你不斷講 native 咁行, 其實一個 app, 有幾多地方係直接 cpu instruction? 有幾多部份係 windows 既 API call? DOS 既年代, 你都仲可以一句 machine code direct set 個 address 既 value 去 display 一個 character, 家陣經 win api 出, complie 完都只係一堆比 windows execute 既 code, 入面好多都係 call 番 windows 再轉落去, 如果 .net 既就更加要經 framework 去行. 如果咁叫 native 比 cpu 行既話, 你話 intel cpu native support 埋 javaScript 都得.
或者, 你試諗下 32bit app 到 cpu 既 32bit instruction set 之間有幾多層.
既然你都搵到 MSDN 有關既部份, 你應該睇埋其他既幾樣, 睇下 WOW64 點樣可以在 64bit windows 行番 32bit application.
仲有一樣, 你 quote 果段, 希望你細心睇清楚, 佢只係話佢會行番好似 win32 app under 32 bit OS 既速度 (只係 similar, 因為 overhead 細, 而唔係無) , 唔係話佢可以同 64bit app 一樣. 我地原本係比較緊 64bit app 同 32bit app, 唔係比較 32bit app in 64bit OS vs 32bit app in 32bit OS.
或者慢慢諗清楚 app, os, cpu 呢三樣野既位置. |