CPU architecture

The family of instructions a processor understands, such as 64-bit Intel (amd64) or 64-bit Arm (arm64).

In more detail

A program compiled for one architecture will not run on another without emulation, so installers, binaries and container images are built separately for each one. The same architecture often has several names: x86-64, amd64 and x64 all mean 64-bit Intel-compatible, while arm64 and aarch64 both mean 64-bit Arm.

Examples

docker inspect alpine:3.20 -f '{{.Os}} {{.Architecture}}'
GOARCH=arm64 go build -o probe .

Related terms

Taught in

References

Certification courses