Visual Studio 2012 64 bit? [duplicate]
Asked Answered
L

3

65

I know that in visual studio 2010 there wasn't 64 bit version. Is there 64 bit version for vs2012?

Lastminute answered 28/11, 2012 at 11:20 Comment(0)
H
65

No, there isn't.

Probably for the same reasons stated for Visual Studio 2010 (no need for the additional address space, and because for this application it would bloat it, slow it down and will take much too long to port to such an architecture, not to mention - the 32bit version works on 64bit machines).


Update:

Microsoft have now announced that Visual Studio 2022 will be a 64-bit application.

I expect one of the main drivers is enabling the loading and debugging memory dumps that are larger than the addressable 32 bit space of ~4GB (which, given how long Windows has been 64 bits, are no longer that rare).

Hermineherminia answered 28/11, 2012 at 11:23 Comment(4)
If I want to build OpenCV for 64bit machine, can I do it with this visual studio?Egyptology
@AbidRahmanK - Yes. It is just that Visual Studio itself (the application) is 32bit.Hermineherminia
I wanted to ask, I am using 64bit windows, 64 bit Python and 64 bit Numpy. Only missing is that there is no 64 bit VS. Still it will be able to build it for x64?Egyptology
@AbidRahmanK - Like I said. Yes. You can build for x64 with Visual Studio. The Visual Studio application is 32bit, but yes, it can build for x64.Hermineherminia
T
16

No there is no 64 bit version.

You can check out this link (Thought to add the reason why it is not added)

why not 64 bit right away?

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.

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.

Thermion answered 28/11, 2012 at 11:24 Comment(9)
Such a marketing bullshit - "buy x64 because you'll be able to use more RAM and our software will run faster" VS "we do not provide x64 and you do not need it at all - it wastes CPU and 4GB of RAM is enough for everyone"Telemetry
@taras.roshko What they say about MSVC is: "We are too lazy to port so much code - so you shouldn't really require us to do so." Anyways, I always thought that the idea behind standards (mainly C++ here) was that porting between architectures is only necessary where you do some architecture-dependent stuff. Many C/C++ programs compile and work well with little porting at all.Rawson
@Rawson Have you really run into any MSVC projects that don't work because of 32 bit memory limitations? I haven't. I get what you are saying but honestly MSVC is one of their best productsDuodenary
@Duodenary I don't really use MSVC, but I agree that MSVC really doesn't really need 64bit (yet). Under linux I use g++ - it's 64 bit but it's just because everything is. compilers probably don't need that just yet. I have an impression though that porting g++ went rather swiftly (hmmm... or was it already written ages ago for some other non-i386 compatible 64-bit server machines? need to research that in a spare moment.)Rawson
Fair enough. I guess it comes down to "we can't justify the cost" which can make sense. If nothing else, software engineers have a bad habit of making improvements that are not necessarily required ;). With Linux -- it won't run a 32 bit binary at all, right? It could be that indeed MSVC in its current state will always be quicker 32-bit without a major overhaul.Duodenary
@Rawson There is a 64-bit version of the C# compiler (cl.exe) that Visual Studio uses on 64-bit systems. Visual Studio is much more than just a compiler.Bergren
@Bergren True, but under linux everything (not only compilers) runs x64 since ages: IDE-s, build systems and whatnot.Rawson
@Duodenary "it won't run a 32 bit binary at all, right" - what do you mean? Of course there is 32bit-comatibility under linux - as long as the processor allows it. If it doesn't then you will probably not run on it any regular windows too.Rawson
My mistake, I thought when running 64-bit linux all your binaries had to be compiled 64-bitDuodenary
H
5

No. There are apparently no plans also.

Hyonhyoscine answered 28/11, 2012 at 11:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.