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

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

问题描述

对 VS 2008 和 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 位操作系统的服务器配置机器上运行?

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位操作系统的配置机器?

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 位).基本上它是一个 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(拍字节)的内存,这意味着所有可用内存(在可预见的未来).

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天全站免登陆