visual-studio Visual Studio 64 位?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2516436/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual Studio 64 bit?
提问by Sash
Is there any 64 bit Visual Studio at all? Why not?
有没有 64 位的 Visual Studio?为什么不?
回答by Joey
For numerous reasons, No.
出于多种原因,没有。
Why is explained in this MSDN post.
为什么在这篇MSDN 帖子中解释。
First, from a performance perspective the pointers get larger, so data structures get larger, and the processor cache stays the same size. That basically results in a raw speed hit (your mileage may vary). So you start in a hole and you have to dig yourself out of that hole by using the extra memory above 4G to your advantage. In Visual Studio this can happen in some large solutions but I think a preferable thing to do is to just use less memory in the first place. Many of VS's algorithms are amenable to this. Here's an old article that discusses the performance issues at some length: https://docs.microsoft.com/archive/blogs/joshwil/should-i-choose-to-take-advantage-of-64-bit
Secondly, from a cost perspective, probably the shortest path to porting Visual Studio to 64 bit is to port most of it to managed code incrementally and then port the rest. The cost of a full port of that much native code is going to be quite high and of course all known extensions would break and we'd basically have to create a 64 bit ecosystem pretty much like you do for drivers. Ouch.
首先,从性能的角度来看,指针变大了,所以数据结构变大了,而处理器缓存的大小保持不变。这基本上会导致原始速度命中(您的里程可能会有所不同)。所以你从一个洞开始,你必须通过使用 4G 以上的额外内存来挖掘自己的优势。在 Visual Studio 中,这可能发生在一些大型解决方案中,但我认为最好的做法是首先使用更少的内存。VS 的许多算法都适用于此。这是一篇讨论性能问题的旧文章:https: //docs.microsoft.com/archive/blogs/joshwil/should-i-choose-to-take-advantage-of-64-bit
其次,从成本的角度来看,将 Visual Studio 移植到 64 位的最短路径可能是将大部分内容逐步移植到托管代码,然后再移植其余部分。完整移植这么多本机代码的成本将非常高,当然所有已知的扩展都会中断,我们基本上必须创建一个 64 位生态系统,就像您为驱动程序所做的那样。哎哟。
回答by Aniruddha Das
No! There is no 64-bit version of Visual Studio.
不!没有 64 位版本的 Visual Studio。
How to know it is not 64-bit:Once you download Visual Studio and click the install button, you will see that the initialization folder it selects automatically is C:\Program Files (x86)\Microsoft Visual Studio 14.0
如何知道它不是 64 位:下载 Visual Studio 并单击安装按钮后,您会看到它自动选择的初始化文件夹是 C:\Program Files (x86)\Microsoft Visual Studio 14.0
As per my understanding, all 64-bit programs/applications goes to C:\Program Files and all 32-bit applications goes to C:\Program Files (x86) from Windows 7 onwards.
根据我的理解,从 Windows 7 开始,所有 64 位程序/应用程序都转到 C:\Program Files,所有 32 位应用程序转到 C:\Program Files (x86)。
回答by LukeH
No, but the 32-bit version runs just fine on 64-bit Windows.
不,但 32 位版本在 64 位 Windows 上运行得很好。
回答by SteelBytes
no, but it runs fine on win64, and can create win64 .EXEs
不,但它在 win64 上运行良好,并且可以创建 win64 .EXE
回答by Abdurrahim
Is there any 64 bit Visual Studio at all?
有没有 64 位的 Visual Studio?
Yes literally there is one called "Visual Studio" and is 64bit, but well,, on Mac not on Windows
是的,字面上有一个叫做“Visual Studio”并且是 64 位的,但好吧,在 Mac 上而不是在 Windows 上
Why not?
为什么不?
Decision making is electro-chemical reaction made in our brain and that have an activation point (Nerdest answer I can come up with, but follow). Same situation happened in history: Windows 64!...
决策是在我们的大脑中进行的电化学反应,它有一个激活点(我能想出最笨拙的答案,但请遵循)。历史上也发生过同样的情况:Windows 64!...
So in order to answer this fully I want you to remember old days. Imagine reasons for "why not we see 64bit Windows" are there at the time. I think at the time for Windows64 they had exact same reasons others have enlisted here about "reasons why not 64bit VS on windows" were on "reasons why not 64bit Windows" too. Then why they did start development for Windows 64bit? Simple! If they didn't succeed in making 64bit Windows I bet M$ would have been a history nowadays. If same reasons forcing M$ making 64bit Windows starts to appear on need for 64Bit VS then I bet we will see 64bit VS, even though very same reasons everyone else here enlisted will stay same! In time the limitations of 32bit may hit VS as well, so most likely something like below start to happen:
因此,为了充分回答这个问题,我希望你记住过去。想象一下当时有“为什么我们看不到 64 位 Windows”的原因。我认为当时对于 Windows64,他们也有其他人在“Windows 64 位不支持 VS 的原因”和“64 位 Windows 不支持的原因”的完全相同的原因。那么他们为什么要开始为 Windows 64 位开发呢?简单的!如果他们没有成功制作 64 位 Windows,我敢打赌 M$ 将成为当今的历史。如果迫使 M$ 制造 64 位 Windows 的相同原因开始出现需要 64 位 VS,那么我敢打赌我们会看到 64 位 VS,即使这里的其他所有人都将保持相同的原因!随着时间的推移,32 位的限制也可能会影响到 VS,因此很可能会发生以下情况:
- Visual Studio will drop 32bit support and become 64bit,
- Visual Studio Code will take it's place instead,
- Visual Studio will have similar functionality like WOW64 for old extensions which is I believe unlikely to happen.
- Visual Studio 将放弃 32 位支持并变为 64 位,
- Visual Studio Code 将取而代之,
- Visual Studio 将具有类似 WOW64 的旧扩展功能,我认为这不太可能发生。
I put my bets on Visual Studio Code taking the place in time; I guess bifurcation point for it will be some CPU manufacturer X starts to compete x86_64 architecture taking its place on mainstream market for laptop and/or workstation,
我把赌注押在 Visual Studio Code 上;我猜它的分叉点将是一些 CPU 制造商 X 开始竞争 x86_64 架构,在笔记本电脑和/或工作站的主流市场上占据一席之地,

