Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Backend Addendums

The following addendums document the currently implemented backends. Each backend targets a specific combination of:

  • Architecture - The CPU instruction set
  • Operating System - The system call interface and runtime environment

New backends can be added for other architecture/OS combinations by implementing the backend protocol. For example, future backends might include:

  • x86_64 Windows (PE executables, Win32 API)
  • x86_64 macOS (Mach-O executables, Darwin syscalls)
  • AArch64 macOS (Apple Silicon)
  • Bare metal / embedded targets
  • Other browser runtimes (Node.js, Deno)

Each addendum specifies the platform intrinsics and conventions for that backend. Programs targeting multiple platforms should use a platform abstraction layer as described in Section 4.3.