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

Tutorials

Each tutorial builds one real thing from start to finish. They assume you have read the handbook, or at least SSPUR in 5 minutes. As everywhere in these docs, every file and terminal session is checked by CI against the current compiler.

TutorialWhat you buildNeeds
Build a web appThe reference app from sspur new web-app: accounts, notes, SQLite, sessions and CSRF, with its tests and a deploy guideclang
Build and deploy a CRUD serviceAn HTTP service over a table, its IAM policies, and a local runclang
Migrations and hot swapA schema change with a migration, a recorded replay, a live swap and a rollbackclang
Calling CCalls into libm and libc, generated bindings, and a C library built from SSPURclang
Bare-metal helloA kernel for QEMU on AArch64 and firmware for a Cortex-M4clang, ld.lld, QEMU to boot
GPU kernelsSAXPY and a reduction with shared memory, run on Metal or the CPUclang
A multi-agent codebaseTwo replicas edited by two agents, a conflict and its resolutionnothing extra

The examples/ directory has larger versions of several of these, and tests/ has programs for every feature.