Skip to content
BENIBIX Learn

32-bit and 64-bit

Development🖥️ Platforms & OSPlatforms

Also known as 64-bit, 32-bit, 64-bit Computing, Word Size

How big a number a chip handles at once. 64-bit can use far more memory than 32-bit.

Think of it like

Think of it like house numbers. With more digits, a street can have far more houses.

Example

Jack's old program crashes when it needs more than 4 GB. The 64-bit version of the same program opens his big file fine.

Why it matters

The 4 GB limit is why 64-bit took over. Many systems no longer run 32-bit apps at all.

Definition

A chip works on numbers of a fixed size, counted in bits. A 32-bit chip handles numbers made of 32 ones and zeros. That lets a program use at most 4 GB of memory. A 64-bit chip handles numbers twice as long. It can reach far more memory than any computer holds. Nearly all computers and phones sold today are 64-bit.

Example code

console
$ getconf LONG_BIT
64
This Linux system runs in 64-bit mode.
The bars on the right: 32-bit stops at 4 GB, 64-bit reaches far past any real computer.

Common mistake

Thinking 64-bit makes every program twice as fast. The main gain is memory, not speed.

Key takeaways

  1. 1
    Number size. Bits say how long each number is.
  2. 2
    The 4 GB wall. 32-bit programs cannot use more than that.
  3. 3
    64-bit is normal. Almost every new device uses it.

Learn it properly