简体   繁体   English

为Azure网站构建时在x86和x64之间选择的条件

[英]Criteria to choose between x86 and x64 when building for Azure web sites

I read that Any CPU indicates Microsoft.NET to compile the IL to the architecture of the running Windows system (either x86 or x64). 我读到, Any CPU指示Microsoft.NET将IL编译为正在运行的Windows系统(x86或x64)的体系结构。

I also read different sorts of suggestions - some people favor x86, some others x64, with different accounts of performance results. 我还阅读了不同类型的建议-有些人偏爱x86,有些人偏爱x64,并且对性能结果有不同的解释。

My question is - in the case of Azure web sites, what should be the criteria to decide on x86, x64 and Any CPU? 我的问题是-对于Azure网站,在x86,x64和任何CPU上确定的标准应该是什么? Thank you. 谢谢。

VM in Azure App Service are x64. Azure App Service中的VM是x64。 32-bit app will run just fine on a x64 machine. 32位应用程序将在x64计算机上正常运行。

Your question is more about 32bit app vs 64bit app. 您的问题更多是关于32位应用程序与64位应用程序。 IMO, unless your application require larger address space, 32bit might be better choice since it normally use less memory. IMO,除非您的应用程序需要更大的地址空间,否则32bit可能是更好的选择,因为它通常使用较少的内存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM