CPU architecture
A CPU architecture is the instruction set that a family of processors runs, such as x86-64 or Arm64.
A CPU architecture is the instruction set of a processor family, which fixes which instructions exist and how each one is encoded. Its formal name is the instruction set architecture, or ISA. Two CPUs that implement the same architecture run the same machine code, even when their internal designs differ. The architecture also defines the registers a program can use and how it addresses memory. It is a contract between hardware and software that both sides keep for decades.
The architecture fixes what a program can ask the processor to do. How fast each instruction runs, and how the chip is laid out, is left to each design. This split lets many generations of processors run the same programs, and it lets chip makers add cores or caches without breaking existing code. Architectures do grow, but new instructions arrive as optional extensions that a program checks for before it uses them.
A compiler turns source code into machine code for one architecture, so every compiled program is tied to the architecture it was built for. Operating systems and software packages are published for each architecture they support. Interpreted languages move this tie to the interpreter, which is itself a compiled program for one architecture. A Python script runs anywhere an interpreter exists, but its native extensions must be built for each architecture. The architecture of a host therefore decides which programs the sandboxes on it can run natively.