# Where pic can run

pic is C11 with every dependency vendored, links only libc, libm and pthread, does its own TLS, and
keeps all its state in SQLite. What touches the operating system sits behind two interfaces:
`pic_platform` (clocks, entropy, the lock, input files, the SQLite VFS) and `pic_executor` (file
operations and running commands). That makes unusual targets reachable:

- **Today, or a build flag away:** Linux and macOS; a single static musl binary for any Linux
  (distroless containers, rescue systems); ARM and RISC-V boards and routers, fully offline against
  a local OpenAI-compatible model server; the BSDs and illumos; Android under Termux; a memory-safe
  build under Fil-C, which already passes every suite.
- **Reachable through the interfaces:** a microVM with no userland, pic as its only process and the
  project in SQLite, commands run on a separate runner (the optional no-OS build in the
  [plan](../design/implementation-plan.md)); unikernels such as Unikraft, OSv or Nanos; WebAssembly
  under WASI or in a browser tab, with the journal in browser storage and a `fetch` or WebSocket
  transport; a Cloudflare Durable Object, whose built-in SQLite storage holds the journal.
- **With more porting:** Windows natively (processes, the terminal and locking; WSL works today) and
  iOS, where there is no `fork`, through WebAssembly or the remote runner.
