Visual Studio 64 位? [英] Visual Studio 64 bit?

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

问题描述

有没有 64 位的 Visual Studio?为什么不呢?

Is there any 64 bit Visual Studio at all? Why not?

推荐答案

出于多种原因,.

为什么在这个MSDN 帖子.

首先,从性能的角度来看,指针变大了,所以数据结构变大,处理器缓存保持不变.这基本上会导致原始速度命中(您的里程可能会有所不同).所以你从一个洞开始,你必须把自己从那个洞里挖出来使用 4G 以上的额外内存对您有利.在 Visual Studio 中这可能发生在一些大型解决方案中,但我认为这是一件可取的事情首先要做的是使用更少的内存.许多 VS算法适用于此.这是一篇讨论的旧文章某些长度的性能问题:https://docs.microsoft.com/archive/blogs/joshwil/should-i-choose-to-take-advantage-of-64-bit

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

其次,从成本的角度来看,可能是最短路径将 Visual Studio 移植到 64 位是将大部分移植到托管代码逐步增加,然后移植其余部分.一个完整端口的成本许多本机代码将非常高,当然大家都知道扩展会中断,我们基本上必须创建一个 64 位生态系统就像您为司机所做的那样.哎哟.

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.

这篇关于Visual Studio 64 位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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