Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 2.27 KB

index.md

File metadata and controls

43 lines (35 loc) · 2.27 KB
title Advanced
description Operating and extending zig-js — embedding, memory and GC, execution tiers, debugging, and the verification system.

Advanced

The Features section describes what the engine gives your JavaScript. This section is about operating and extending the engine itself: how to embed it, how memory behaves, how code tiers, how to debug it, and how its claims are verified.

Pages

Page Covers
Embedding The Zig Context API, options, module hosts, termination, and how it relates to the C and Objective-C surfaces.
Memory & GC Arena vs. precise GC, heap budgets, generational collection, compaction, weak references, and root safety.
Execution tiers Tree-walker → bytecode VM → baseline native → optimizing tier, and how to keep them in agreement.
VM quickening inventory Guarded VM caches and bounded traces, with narrow legacy kernels separated from general no-JIT coverage.
Debugging & tooling Inspector protocol, corpus diagnostics, profiles, sanitizers, and the build cache.
Verification & evidence How every published claim is gated, and how to add a gate.

Deep dives elsewhere in these docs

Working in the repository

Contributor setup, the full command list, and the commit/PR conventions are in CONTRIBUTING.md. Coding agents should start from CLAUDE.md (symlinked as AGENTS.md), which encodes the same rules plus the traps that have cost real time here.