Questions tagged [64-bit]

A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.

The term 64-bit is used for architectures where the address bus and other data units, like the data bus or CPU registers, are 64 bits wide.

64-bit processor architectures include:

  • x86-64 , often known as AMD64, an evolution of 32-bit x86 PC processors by AMD and Intel, found in many server and desktop computers;
  • DEC Alpha, a now-discontinued architecture that was popular on workstations in the 1990s;
  • ppc64, a 64-bit evolution of the PowerPC/POWER processor;
  • SPARC v9 (Ultrasparc and sparc64), 64-bit evolutions of the Sparc architecture;
  • Itanium , also known as IA-64, an architecture by Intel that is not related to IA-32 (which is the name for later generations of x86 processors)
  • MIPS64 , a 64-bit version of the MIPS architecture;
  • ARMv8, an upcoming 64-bit version of the ARM architecture

In C and other languages such as C++ and Objective-C with a similar set of machine integer types including int, long and long long, implementations differ as to which types are 32-bit and which types are 64-bit. Windows follows a model called IL32P64: int and long are both 32-bit, long long (if available) and pointers are 64-bit. On the other hand, most Unix-like systems including Linux and Mac OS X follow the I32LP64 model: int is 32-bit, long and long long and pointers are 64-bit.

6082 questions
129
votes
7 answers

Conditionally use 32/64 bit reference when building in Visual Studio

I have a project that builds in 32/64-bit and has corresponding 32/64-bit dependencies. I want to be able to switch configurations and have the correct reference used, but I don't know how to tell Visual Studio to use the architecture-appropriate…
Jonathan Yee
  • 1,957
  • 2
  • 19
  • 21
127
votes
8 answers

I cannot start SQL Server browser

I can't start the SQL Server browser from SQL Service Configuration Manager 2008 version. There are absolutely no options to start the service. It's disabled as image shown below. How should I start the service again?
Nipun Alahakoon
  • 2,772
  • 5
  • 27
  • 45
121
votes
19 answers

System.BadImageFormatException: Could not load file or assembly (from installutil.exe)

I am trying to install a Windows service using InstallUtil.exe and am getting the error message System.BadImageFormatException: Could not load file or assembly '{xxx.exe}' or one of its dependencies. An attempt was made to load a program with an…
Epaga
  • 38,231
  • 58
  • 157
  • 245
114
votes
8 answers

Targeting both 32bit and 64bit with Visual Studio in same solution/project

I have a little dilemma on how to set up my visual studio builds for multi-targeting. Background: c# .NET v2.0 with p/invoking into 3rd party 32 bit DLL's, SQL compact v3.5 SP1, with a Setup project. Right now, the platform target is set to x86 so…
Magnus Johansson
  • 28,010
  • 19
  • 106
  • 164
112
votes
11 answers

Converting a pointer into an integer

I am trying to adapt an existing code to a 64 bit machine. The main problem is that in one function, the previous coder uses a void* argument that is converted into suitable type in the function itself. A short example: void function(MESSAGE_ID id,…
PierreBdR
  • 42,120
  • 10
  • 46
  • 62
106
votes
15 answers

How do I register a DLL file on Windows 7 64-bit?

I have tried to use the following code: cd c:\windows\system32 regsvr32.exe dllname.ax But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor?
Rajkumar Reddy
  • 2,357
  • 6
  • 24
  • 29
98
votes
9 answers

Java 32-bit vs 64-bit compatibility

Will Java code built and compiled against a 32-bit JDK into 32-bit byte code work in a 64-bit JVM? Or does a 64-bit JVM require 64-bit byte code? To give a little more detail, I have code that was working in a Solaris environment running a 32-bit…
mshafrir
  • 5,190
  • 12
  • 43
  • 56
97
votes
15 answers

Android SDK on a 64-bit linux machine

Is it possible to develop using the Android SDK on a 64-bit linux machine. The available SDK downloads seem to be just for 32-bit versions of Linux.
D R
  • 21,936
  • 38
  • 112
  • 149
96
votes
3 answers

Does JavaScript support 64-bit integers?

I have the following code: var str = "0x4000000000000000"; //4611686018427387904 decimal var val = parseInt(str); alert(val); I get this value: "4611686018427388000", which is 0x4000000000000060 I was wondering if JavaScript is mishandling 64-bit…
ahmd0
  • 16,633
  • 33
  • 137
  • 233
93
votes
5 answers

Determine if current PowerShell Process is 32-bit or 64-bit?

When running a PowerShell script on a x64-bit OS platform, how can you determine in the script what version of PowerShell (32-bit or 64-bit) the script is running on? Background Both 32-bit and 64-bit versions of PowerShell are installed by…
Tangiest
  • 43,737
  • 24
  • 82
  • 113
90
votes
11 answers

Can I get Memcached running on a Windows (x64) 64bit environment?

Does anyone know IF, WHEN or HOW I can get Memcached running on a Windows 64bit environment? I'm setting up a new hosting solution and would much prefer to run a 64bit OS, and since it's an ASP.Net MVC solution with SQL Server DB, the OS is either…
RobertTheGrey
  • 8,645
  • 5
  • 32
  • 45
90
votes
10 answers

Can I run a 64-bit VMware image on a 32-bit machine?

Can I run a 64-bit VMware image on a 32-bit machine? I've googled this, but there doesn't seem to be a conclusive answer. I know that it would have to be completely emulated and would run like a dog - but slow performance isn't necessarily an issue…
John Sibly
  • 22,782
  • 7
  • 63
  • 80
90
votes
9 answers

Are 64 bit programs bigger and faster than 32 bit versions?

I suppose I am focussing on x86, but I am generally interested in the move from 32 to 64 bit. Logically, I can see that constants and pointers, in some cases, will be larger so programs are likely to be larger. And the desire to allocate memory on…
philcolbourn
  • 4,042
  • 3
  • 28
  • 33
89
votes
12 answers

Detect 64-bit or 32-bit Windows from User Agent or Javascript?

I want to offer the right version of a download. The versions I have are: 32-bit Windows 64-bit Windows Linux Detecting Linux using the User Agent field is easy; but is it possible to reliably figure out if Windows is 32-bit or 64-bit? Users…
user9876
  • 10,954
  • 6
  • 44
  • 66
80
votes
2 answers

C# compiling for 32/64 bit, or for 'Any CPU'?

Possible Duplicate: What does the Visual Studio "Any CPU" target mean? I've noticed that when compiling C# code in Visual Studio, there are typically options for compiling for 32/64 bit systems, and there's also one for compiling for Any…
helloworld922
  • 10,801
  • 5
  • 48
  • 85