Files
Chris Tate b47111069c Native SDK: the complete toolkit for building native desktop apps (#67)
zero-native becomes the Native SDK. Apps are authored as native markup plus Zig on a deterministic runtime and rendered by the toolkit's own engine into real OS windows — no browser, no WebView, no interpreter in the binary.

- Desktop is complete on macOS, Windows, and Linux: native rendering with per-platform titlebar fidelity, audio playback with streaming, a verified track cache, and real spectrum analysis, native context menus, packaging with sealed code signing, and a deterministic automation and record-replay story.
- Experimental iOS and Android host tiers ship behind the same app manifest: simulator and emulator dev loops, archive-ready packaging, real platform tab bars and push navigation, with embedding over the C ABI underneath.
- The docs site, component catalog, theme packs, showcase apps, and CHANGELOG carry the full account.
2026-07-08 18:51:43 -05:00

616 B

Native SDK gpu-surface example

This example shows a real GPU-backed child surface in the native view tree:

  • A native toolbar and statusbar.
  • A Metal-backed gpu_surface pane with explicit pixel format, presentation, alpha, color-space, and vsync settings.
  • A WebView sibling pane in the same split layout.
  • Native controls that dispatch commands back to Zig.

Run with the macOS system backend. The GPU surface example defaults to ReleaseFast; pass -Doptimize=Debug only when debugging renderer internals.

native dev

Run the headless declaration test:

native test -Dplatform=null