# Roadmap

URL: /docs/roadmap
Markdown: /docs/roadmap.md

> What works in Sakura Lang today, how 1.0 was checked, and what is planned after 1.0.

This page says what you can use today, what 1.0.0 was checked against, and what is planned
after 1.0. Read it before you pick Sakura Lang for a project. No release has a date.

> **Latest release**
>
> `v1.0.0` is the current release, and it is stable: what the [Stability](/docs/stability) page
> lists keeps working across 1.x, and a breaking change waits for 2.0. A security fix that has to
> break something comes with a migration in the [changelog](/changelog). Native, packages and
> workers are experimental and may change.

## What works today [#what-works-today]

Everything in this section ships in the latest release.

- **The language.** Types, effects (a function's type lists what it may do, such as read
  files or call the network), handlers that supply those effects, pattern matching, typed
  errors, and contracts: `requires` and `ensures` checks on functions, plus refined types such
  as `Int where it >= 0`.
- **Two backends.** A backend is what the compiler turns your program into. JavaScript is the
  default. WebAssembly (`--target wasm`) runs every program the same way, with Node as the
  host. CI compares the two on Linux x64 and ARM64, Apple silicon and Intel macOS, and
  Windows x64.
- **Contract proofs.** [`sakura verify`](/docs/agents/verify) tries to prove your contracts
  with the Z3 solver, which you install yourself (it is never downloaded for you). A build
  drops a runtime check only when a matching proof covers it; every other check stays.
- **A standard library.** JSON, SQLite, files, HTTP clients and servers, command-line
  parsing, structured concurrency, model (LLM) calls, tools and agent loops, plus the web
  platform's byte, text, URL, header, form, crypto, stream, compression and WebSocket APIs.
  See the [standard library](/docs/stdlib).
- **Permissions.** `sakura run` checks the files, hosts and environment variables your
  program declares in [`sakura.toml`](/docs/manifest) and exits with status 75 when one is
  missing. This is not an operating-system sandbox for arbitrary JavaScript or trusted
  foreign code.
- **Tools for coding agents.** A language server, an [MCP server](/docs/agents/mcp), a
  downloadable skill, [typed holes](/docs/agents/typed-holes) (gaps in your code that the compiler describes), the
  [trust audit](/docs/agents/audit), [offline API search](/docs/agents/doc),
  [build manifests](/docs/agents/build-manifest), [recorded test cassettes](/docs/agents/cassettes)
  and generated contract tests (`sakura test --contracts`).
- **Install channels.** npm, Homebrew, release archives and an installer script, for macOS
  (Apple silicon and Intel), Linux (x64 and ARM64) and Windows x64. See [Install](/docs/install).

### Experimental today [#m5-native-code-experimental]

Experimental features are opt-in and may change or go away in any release, without a migration.

- **Native executables** (`--target native`). The macOS (Apple silicon and Intel), Linux x64
  and Linux arm64 release binaries include it, and you need a system C compiler (`cc`) to link. It runs every
  standard service; `WebSocket` from `v1.0.0-beta.6`. No native performance claim is made yet. See
  [Native code](/docs/native).
- **Workers** (`std/worker`): a second copy of your program running in parallel, with its own
  memory. See [Workers](/docs/tour/concurrency#workers-experimental).

### Not available today [#not-available-today]

- PostgreSQL (`Sql.postgres`) is not implemented and has no release planned. Use SQLite.
- Packages beyond `path` dependencies: nothing is resolved or fetched from a registry yet.
- A browser host: the WebAssembly backend runs under Node.

## How 1.0.0 was checked [#how-100-was-checked]

1.0.0 is the first stable release. It adds no big features over the betas; it is the same
language with evidence that it holds up. Before 1.0.0 was tagged:

- **Fuzz testing.** Every fuzz target (a test that feeds the compiler random inputs) ran
  at least 24 CPU-hours with no soundness bug, meaning no case where a program is accepted
  but behaves wrongly.
- **Real programs upgraded.** Sample programs written on earlier releases were upgraded through
  each beta, following only the published migration notes.
- **Agent results.** Measured results from coding agents writing Sakura Lang.
- **A complete specification** of the language.
- **Signed macOS downloads.**
- **A quiet last beta.** No serious bug and no contract change after the last beta: only
  documentation and the version number changed between `v1.0.0-beta.6` and `v1.0.0`.

`v1.0.0` is the current release, and it is stable: what the [Stability](/docs/stability) page
lists keeps working across 1.x, and a breaking change waits for 2.0. A security fix that has to
break something comes with a migration in the [changelog](/changelog). Native, packages and
workers are experimental and may change.

## After 1.0 [#after-10]

- **Packages**, added in a 1.x release without breaking existing projects.
- **Native executables as a stable target.** Native stays experimental until it meets its
  stabilization conditions in a 1.x release.
- **Faster native code**, from optimizations that are not built yet.
- **Publishing the compiler on crates.io** and GitHub syntax highlighting (Linguist). The
  [playground](/play) already runs Sakura Lang in the browser.

## Release history [#release-history]

| Release | What it brought | Published |
| --- | --- | --- |
| `v1.0.0` | The first stable release: beta.6 with the 1.x compatibility promise | 2026-10-23 |
| `v1.0.0-beta.6` | Experimental packages with `path` dependencies; `WebSocket` in native executables; revealed key bytes zeroed when freed; linear-time native string functions | 2026-10-23 |
| `v1.0.0-beta.5` | Experimental native executables in the Intel Mac release binary too; a `match` on a tuple allocates nothing; runtime memory fixes on out-of-memory paths | 2026-10-22 |
| `v1.0.0-beta.4` | Experimental native executables in the release binaries; `W8001` warns when a list or map update copies; memory reuse on WebAssembly and native | 2026-10-22 |
| `v1.0.0-beta.3` | Node programs can call a Sakura library; faster `sakura verify` | 2026-10-21 |
| `v1.0.0-beta.2` | Experimental workers; refined types in JSON Schema | 2026-10-21 |
| `v1.0.0-beta.1` | The first 1.0 beta: binary HTTP bodies, streams, URL patterns, WebSockets, timers; the first stability rules | 2026-10-21 |
| `v0.1.0` | The WebAssembly backend complete; web byte, URL, header, form and crypto APIs; Linux ARM64, Windows and Intel Mac | 2026-10-20 |
| `v0.1.0-alpha.1` | The first public preview: the language, standard library, editor and agent tools | 2026-10-18 |

[Changes since 0.1.0](/docs/changes) explains each beta in more detail.

## For contributors [#for-contributors]

Internally the work is split into milestones: M3 (the JavaScript language and agent tools)
and M4 (WebAssembly and contract proofs) are complete, and M5 (native code) is in progress.
The [road to 1.0](https://github.com/icantcodefyi/sakuralang/blob/main/docs/plans/road-to-1.0.md)
sets the release order, the [M3 gate report](https://github.com/icantcodefyi/sakuralang/blob/main/docs/plans/m3-gate-report.md)
and [M4 plan](https://github.com/icantcodefyi/sakuralang/blob/main/docs/plans/m3-completion-and-m4.md)
record the finished milestones, the [native plan](https://github.com/icantcodefyi/sakuralang/blob/main/docs/plans/m5-native.md)
tracks M5, and [the design notes](https://github.com/icantcodefyi/sakuralang/blob/main/docs/design.md)
record each decision.
