X86 vs X64 vs AnyCPU [英] X86 vs X64 vs AnyCPU

查看:331
本文介绍了X86 vs X64 vs AnyCPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS 2008和vs 2010的X86,X64和AnyCPU配置有一些混淆

Have a little confusion on X86 , X64 and AnyCPU configuration in VS 2008 , vs 2010

问题01

X86 为何能在 64位Windows 7,Windows 8 甚至在64位OS中的服务器配置机器上工作?

How come X86 works in 64 bit windows 7 , windows 8 and even the server configuration machines that is in 64 bit OS ?

问题02

X86 vs X64 vs AnyCPU有哪些明显的区别?
可以使任何人分别清楚地解释每个人(即X86,X64和AnyCPU),因为我发现的网络资源令人困惑。

X86 vs X64 vs AnyCPU what are the clear differences ? can any one explain clearly on each one (i.e. X86, X64 and AnyCPU) separately since the web resources I found are confusing.

推荐答案


X86如何在64位Windows 7,Windows 8甚至在64位OS中的服务器
配置机器上工作?

How come X86 works in 64 bit windows 7 , windows 8 and even the server configuration machines that is in 64 bit OS ?

由于 WoW64 (在Windows 64位上为Windows)。基本上,它是一个32位仿真器,它使您可以在64位操作系统中运行32位程序。

Because of WoW64 (Windows on Windows 64-bit). Bascially it is a 32 bit emulator, which allows you to run 32 bit programs in a 64 bit operating system.


X86 vs X64 vs AnyCPU明显的区别是什么?

X86 vs X64 vs AnyCPU what are the clear differences ?

X86是32位应用程序的模式,以80x86系列CPU命名。一个32位应用程序可以处理4 GB的内存。

X86 is the mode for 32 bit applications, named after the 80x86 series CPUs. A 32 bit application can address 4 GB of memory.

X64是64位应用程序的模式,它是名称 x86-64 ,它是x86指令集的64位模式。 64位应用程序可以处理18 PB(PB)的内存,这将转换为所有可用内存(在可预见的将来)。

X64 is the mode for 64 bit applications, it's a shortening of the name x86-64 which is the 64 bit mode of the x86 instruction set. A 64 bit application can address 18 PB (petabyte) of memory, which translates to all available memory (for the forseeable future).

AnyCpu模式允许对每个内存进行编译

The AnyCpu mode allows for compilation to each of the other two modes.

编译模式只是JIT编译器的指令,说明如何将IL代码编译为机器代码。 IL代码本身对于所有模式都是相同的。

The compilation mode is just an instruction for the JIT compiler for how it is allowed to compile the IL code into machine code. The IL code itself is the same for all modes.

这篇关于X86 vs X64 vs AnyCPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆