• Customers
  • Pricing
  • Docs
Sign Up

Compute Glossary

How computers for agents work, from the hardware to the sandbox.

  1. Compute Glossary
  2. /
  3. Hardware

CPU architecture

Also called Instruction set architecture, ISA

x86-64 processorArm64 processorInstructions of 1 to 15 bytesFixed 4-byte instructionsx86-64 binaryArm64 binaryEmulation

A CPU architecture is the instruction set of a processor family, fixing 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, as long as it uses only instructions both support, even when they are built very differently inside. 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, so many generations of processors can run the same programs. This split 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.

x86-64 and AArch64

x86-64 and AArch64 are the two architectures that run nearly all servers and personal computers today. The x86-64 architecture descends from a design that kept every older instruction for compatibility, which makes decoding complex. Modern x86-64 chips translate those instructions into simpler internal operations before they run them. That translation costs chip area and power, but it lets decades-old programs keep running unchanged.

AArch64 started fresh with a smaller, more regular instruction set. In practice both reach similar performance, and the choice between them on servers is mostly about cost and what software is available. Regular instructions are easier to decode several at a time, which helps wide and power-efficient designs. Arm licenses the architecture to other companies, which is why cloud providers can design arm64 server chips of their own.

Other architectures exist beside these two, mostly in smaller devices. RISC-V is an open architecture that anyone can implement, and it is growing in embedded devices and starting to appear in servers. Its base instruction set is small, and features such as vector math come as optional extensions. Software support still trails the two main architectures, which slows its move into servers.

ArchitectureOther namesOriginEncodingCommon in
x86-64amd64, x64AMD's 64-bit extension of Intel's x86, around 2000Variable length, from 1 to 15 bytesIntel and AMD processors
AArch64arm64, ARMv8-A and laterArm's 64-bit architecture, announced in 2011Fixed 4-byte instructionsApple silicon, phones, and Arm server chips such as AWS Graviton

Binary compatibility

Binary compatibility is the ability of a compiled program to run on a processor without being rebuilt, and natively it holds only within one architecture. An arm64 processor cannot decode x86-64 machine code. The operating system reads the architecture recorded in a binary's header and refuses to load one built for another, unless an emulator or translation layer is set up to run it. Within one architecture, compatibility runs forward, so programs built for older chips of a family run on newer ones.

A binary or a container image built for one architecture runs natively on another only if it is rebuilt; otherwise it needs an emulator, at a cost in speed. The calling convention and the numbers of system calls also differ between architectures, even under the same kernel. Rebuilding is often simple for code in a portable language, but hand-written assembly must be ported by hand. Cross-compilers let one machine build binaries for another architecture without running them.

For this reason, a machine or container image is published once per architecture. Registries often bundle the variants behind one name that resolves to the right one for each machine. The bundle is called a multi-architecture image, and the client picks the entry that matches its host. Producing it usually takes one build per architecture, either on matching machines or under emulation.

Emulation

Emulation is the running of a program on the wrong architecture by translating its instructions. QEMU can emulate a whole machine or translate the instructions of a single program as it runs. The emulator turns each guest instruction into host instructions that do the same thing. Fast emulators translate a block of code once and reuse the result, instead of decoding each instruction every time it runs.

Apple's Rosetta 2 translates x86-64 programs to arm64, mostly ahead of time. Translation works but costs speed, and some memory-ordering behaviors are hard to reproduce exactly. Rosetta keeps the translated code, so a program pays most of the translation cost on its first launch. Apple also gave its chips a memory-ordering mode that matches x86-64, which removes much of that difficulty.

Hardware virtualization does not help here. A virtual machine runs guests of the same architecture as its host, so a guest for another architecture needs a full emulator, which is often much slower. Hardware virtualization only lets guest code run directly on the processor, and that code must already be in the host's machine language. Some platforms combine the two, running a native virtual machine and translating only the foreign programs inside it.

Related terms

  • CPU
  • CPU core
  • System call
  • Hardware virtualization
PreviousCPUNextCPU type

On this page

Compute Glossary
  1. Foundations
    • Sandbox
    • Virtual machine
    • vCPU
    • Block storage
    • Virtual network interface
    • Kernel
    • Hardware virtualization
    • Hypervisor
    • GPU
    • CPU core
    • Memory
    • CPU
    • Local disk
    • Network interface card
    • Compute
    • Workload
    • Latency
  2. Sandboxes
    • Isolation
    • Lifecycle
    • Snapshot
    • Persistence
  3. Virtualization
    • KVM
    • MicroVM
    • Container
  4. Hardware
    • Server
    • CPU architecture
    • CPU type
    • GPU memory
    • GPU model
    • Mac model
  5. Kernel
    • System call
    • Process
    • Memory page
    • Namespace
    • Control group
    • Seccomp
  6. Storage
    • Object storage
    • File system
  7. Networking
    • Egress control
    • SSH
  8. Infrastructure
    • Control plane
    • Scheduler
    • Overcommit
    • Preemption
    • Region
    • Capacity
    • Scale
  9. Agents
    • AI agent
    • Tool call
    • Untrusted code
  10. Reinforcement learning
    • Reinforcement learning
    • Environment
    • Rollout
    • Verifier
    • Reward hacking
    • Actor–learner architecture

Computersfor Agents

Isolated sandboxes for agent code,
ready in under 100 ms.

Start for Free

Subscribe to DotFiles Insider, our monthly digest of AI infrastructure news, deep dives, and Daytona product releases.

Company

  • About
  • Careers
  • Brand
  • Partners
  • Startup Program
  • Research Grants
  • Events
  • Contact

Product

  • Pricing
  • Docs
  • Changelog

Resources

  • Guides
  • Blog

Legal

  • DPA
  • SLA
  • Terms of Service
  • Privacy Policy
Trust Center
All Systems Operational