Repository navigation
ZIPP v0.0.44
ZIPP 0.0.44
A major architecture, interpreter, and performance release. The native engine is now a modular C-ABI v2 plugin runtime: core zipp ships only the ES2025 VM, native JIT, standalone zipp sandbox, and a zero-dependency plugin loader, while TypeScript, Python 3.13, PHP 8.x, Rust, Lua 5.4, Node runtime helpers, and native WebGPU (zipp_plugin_gpu over wgpu) load dynamically on demand from plugins/ with optional SHA-256 manifest enforcement (--strict-plugins).
Compared with v0.0.43 on matched local non-PGO fat-LTO builds, real-world applications run 9.6% to 21.0% faster in default JIT mode (defuddle breaks under 2× Node warm at 1.99×, linkedom reaches 1.11× Node wall), pure interpreter execution (ZIPP_NOJIT=1) runs 20.8% to 59.6% faster (2.47× faster on webforai, beating V8 --jitless at 0.58× warm / 0.61× wall), and zipp-wasm improves across every v0.0.43-tracked steady-state workload (arith-mod −10.3%) while passing all 40 / 40 host boundary checks. Under O3 PGO+PGSO, v0.0.44 runs bench/real at 0.494× Node (2.024× faster, 13/13 wins), all 30 benchmark rows at 0.549× Node (1.823× faster, 29/30 wins), and linkedom at 1.045× Node wall time.
Benchmark Highlights (v0.0.44 vs. v0.0.43, Node.js)
All measurements below were captured on Windows x86-64 (AMD Ryzen 9 9950X3D, 32 logical cores, rustc 1.92.0) with byte-identical output against Node.js v24.19.0 (full machine-readable report in bench/results/latest.json, built from clean 90ea5961).
1. Real-World Applications — Matched Non-PGO Fat-LTO (v0.0.44 vs. v0.0.43)
Apples-to-apples against v0.0.43's matched non-PGO fat-LTO measurements (7 repetitions × 15 iterations, default JIT mode, --verify-output):
| App | v0.0.43 Warm |
v0.0.44 Warm |
Change vs. v0.0.43 |
Warm vs. Node (0.0.43 → 0.0.44) |
Wall vs. Node (0.0.43 → 0.0.44) |
|---|---|---|---|---|---|
| linkedom (parse HTML into DOM and query it) | 2.81 ms | 2.54 ms | −9.6% (1.11×) | 2.68× → 2.46× | 1.21× → 1.11× |
| defuddle (extract article, convert to Markdown) | 53.37 ms | 43.11 ms | −19.2% (1.24×) | 2.45× → 1.99× | 1.86× → 1.55× |
| webforai (HTML to Markdown via hast/mdast) | 49.45 ms | 39.07 ms | −21.0% (1.27×) | 3.22× → 2.52× | 2.05× → 1.70× |
2. Pure Interpreter / NOJIT (ZIPP_NOJIT=1) vs. v0.0.43 and V8 --jitless
Matched non-PGO fat-LTO ZIPP_NOJIT=1 (7 repetitions × 15 iterations, 4-way matrix against node --jitless):
| App |
v0.0.43 Warm |
v0.0.44 Warm |
Warm Change |
v0.0.43 Wall |
v0.0.44 Wall |
Wall Change |
v0.0.44 vs. V8 --jitless ( |
|---|---|---|---|---|---|---|---|
| linkedom | 8.62 ms | 6.44 ms | −25.3% (1.34×) | 421.5 ms | 365.9 ms | −13.2% | 1.40× / 0.96× |
| defuddle | 175.50 ms | 139.00 ms | −20.8% (1.26×) | 3127.4 ms | 2519.4 ms | −19.4% | 1.52× / 1.39× |
| webforai | 228.35 ms | 92.30 ms | −59.6% (2.47×) | 3991.6 ms | 1761.5 ms | −55.9% | 0.58× / 0.61× |
3-app geomean vs. V8 --jitless (non-PGO):
3. PGO+PGSO Native Builds (release-s 9.15 MB & release O3 12.50 MB)
Trained on the fair, non-benchmark corpus (bench/pgo-training, JIT + interpreter passes):
| Suite / Workload | release-s PGO+PGSO (9.15 MB) |
release O3 PGO+PGSO (12.50 MB) |
|---|---|---|
Cold startup (examples/hello.js, 11 reps) |
9.90 ms vs. Node 35.69 ms (3.61× faster) | — |
bench/real (13 everyday rows, 5 interleaved reps) |
0.552× Node (13/13 wins, 1.81× faster; headline 10 0.764×) | 0.494× Node (13/13 wins, 2.02× faster; headline 10 0.679×) |
bench/hostile (17 stress rows, 5 interleaved reps) |
0.627× Node (16/17 wins, 1.59× faster) | 0.594× Node (16/17 wins, 1.68× faster) |
| Combined 30 rows (equal-row geomean) | 0.594× Node (29/30 wins, 1.69× faster) | 0.549× Node (29/30 wins, 1.82× faster) |
bench/apps — linkedom (5 reps × 15 iters) |
warm 2.66 ms (2.68×), wall 1.129× Node | warm 2.43 ms (2.46×), wall 1.045× Node |
bench/apps — defuddle (5 reps × 15 iters) |
warm 43.91 ms (2.06×), wall 1.614× Node | warm 41.89 ms (1.967×), wall 1.523× Node |
bench/apps — webforai (5 reps × 15 iters) |
warm 40.45 ms (2.63×), wall 1.797× Node | warm 37.18 ms (2.42×), wall 1.634× Node |
Test262 (pinned corpus 2e58f87d83, unmodified) |
96,563 / 96,564 (99.999%), 0 unexpected failures, 0 skips | 96,563 / 96,564 (99.999%) |
4. WebAssembly (zipp-wasm — All 8 Variants, Sizes & Throughput)
Built with rustc 1.92.0, wasm-bindgen 0.2.126, Binaryen wasm-opt 125 (optimize-wasm.sh: --precompute-propagate --rse --vacuum -O1 -O1 + signature/body function ordering), and Brotli quality 11:
| Variant | Shipped Raw | Shipped Gzip-9 | Shipped Brotli-11 |
|---|---|---|---|
Lite (javascript-lite.wasm) |
2,808,211 B | 984,093 B | 782,324 B |
JavaScript (javascript.wasm) |
4,852,677 B | 1,702,747 B | 1,259,094 B |
TypeScript (javascript-typescript.wasm) |
5,231,966 B | 1,822,712 B | 1,342,676 B |
Rust (javascript-rust.wasm) |
5,904,531 B | 1,977,117 B | 1,457,870 B |
PHP (javascript-php.wasm) |
6,432,596 B | 2,129,966 B | 1,577,992 B |
Python base (javascript-python-base.wasm) |
7,659,325 B | 2,484,713 B | 1,845,361 B |
Torch package (torch-package.wasm) |
2,162,820 B | 496,386 B | 403,288 B |
Python + Torch (javascript-python.wasm) |
9,701,743 B | 2,961,562 B | 2,221,203 B |
Matched wasm-opt -Oz comparison vs. v0.0.43:
| Artifact | v0.0.43 Raw (-Oz) |
v0.0.44 Raw (-Oz) |
Raw Change | v0.0.44 Shipped Gzip-9 vs. v0.0.43 -Oz Gzip-9 |
|---|---|---|---|---|
Full (javascript.wasm) |
4,660,636 B | 4,715,205 B | +54.6 KB (+1.17%) | 1,749,245 B → 1,702,747 B (−46.5 KB) |
Lite (javascript-lite.wasm) |
2,686,240 B | 2,710,837 B | +24.6 KB (+0.92%) | 1,042,532 B → 984,093 B (−58.4 KB) |
On crates/zipp-wasm/tests/node/bench.cjs (Node v24.19.0 / V8 13.6, 40/40 boundary checks passing), v0.0.44 improves on every v0.0.43-tracked steady-state workload: arith-mod 2.10 ms vs. 2.34 ms (−10.3%), prop-mono 2.14 ms vs. 2.20 ms (−2.7%), alloc-object 5.58 ms vs. 5.67 ms (−1.6%), prop-poly 3.76 ms vs. 3.79 ms (−0.8%), arith-int 3.49 ms vs. 3.51 ms (−0.6%); arith-float 2.62 ms, array-build 3.02 ms, array-hof 2.44 ms, string-build 1.45 ms, regex 1.54 ms, json 6.54 ms; boot compile+instantiate 8.00 ms, preamble initScript("") 1.096 ms.
New in 0.0.44
- Modular C-ABI v2 dynamic plugin architecture (
crates/zipp-plugin-api,crates/zipp-bytecode,plugins/):- Split shared register bytecode (
.zbc) intocrates/zipp-bytecodeand added the zero-dependency C-ABI v2 loader & SHA-256 verifier incrates/zipp-plugin-api. - Core
zippstays lean (pure ES2025 VM + JIT + standalonezipp sandbox), importing zerowgpuor OS graphics DLLs and paying 0.0 ms plugin overhead onzipp js. - Ships 7 dynamic plugins (
plugins.sha256manifest verified via--strict-plugins/ZIPP_PLUGIN_STRICT=1; disabled unconditionally inzipp sandboxand via--no-plugins):zipp_lang_lua(150 KB): new Lua 5.4 frontend compiling directly onto ZIPP's shared bytecode, VM, and JIT.zipp_lang_ts(628 KB): full TypeScript / TSX / JSX frontend plugin.zipp_plugin_node(368 KB): Node.js runtime globals & CJS helper plugin.zipp_lang_rust(1,059 KB): Rust script, Cargo project &#[test]plugin.zipp_lang_php(1,235 KB): PHP 8.x frontend plugin with pure-Rust GD image engine (imagecreatetruecolor,imagepng,imagejpeg,imagewebp,imagegif), pure-Rust OpenSSL AES (AES-128/256-CBC/CTR/GCM), andglob().zipp_lang_python(2,073 KB): Python 3.13 frontend plugin (78 stdlib +torchmodules,SystemExitexit codes, stdin-, sibling module resolution, andnative_gpu.jsbridge).zipp_plugin_gpu(15.8 MB): nativewgpuWebGPU accelerator plugin (zipp gpu probe, Vulkan/D3D12/Metal, zero-copyvm_typed_array_regionC-ABI v2 host bridge, automatic CPU fallback with--no-gpu/ZIPP_GPU=0; 11/11native_gputests passing on hardware WebGPU).
- Split shared register bytecode (
- Interpreter & JIT performance (Waves 1–14):
- Adaptive
Op-cachedGetProp/SetProphandlers, shapedstrict_eq, inlinetype_codedispatch, specialized string/array/RegExp fast paths, and ZLZ1-compressed built-in Node runtime parts cutting pure-interpreterwebforaitime by 59.6% andlinkedomby 25.3%. WASM_STATIC_SWITCHEScompile-time folding of historical A/B switches in native release andwasm32builds (--features dev-switches/cargo testretains all switches for diagnostics and tests).- Renamed internal regex crate path from
crates/regress-forktocrates/zipp-regress.
- Adaptive
- Fixes:
- Windows x86-64 Tier O stack probing (
__chkstk): Added 4 KiB guard-page stack probing in Tier O prologues for frames ≥ 4 KiB (crates/zipp-vm/src/codegen/opt/emit.rs), fixing access violations on large compiled functions (e.g., PHP runtimemakeClassMeta) under release JIT. - Required the
u(unicode) flag for braced\u{...}escapes inRegExpAsciiPlan::parse_escape. - Restored full
--version --jsonbuild provenance (name,version,commit,source,dirty,pgo_profile_sha256), standalonezipp sandbox(ZIPP_NO_PLUGINS=1), and top-level--lang=<name>CLI flags.
- Windows x86-64 Tier O stack probing (
Downloads
| File | What it is |
|---|---|
zipp-0.0.44-windows-x86_64-portable.exe |
Windows command line (lean ES2025 core + JIT + C-ABI v2 plugin loader). Run it from anywhere. |
zipp-0.0.44-windows-x86_64-installer.msi |
The same binary, installed for the current user into %LOCALAPPDATA%\Programs\ZIPP and added to PATH; no administrator rights. |
zipp-0.0.44-windows-x86_64-plugins.zip |
Dynamic C-ABI v2 plugins (lua, ts, node, php, rust, python, gpu) + plugins.sha256. Extract plugins/ beside zipp.exe. |
zipp-0.0.44-linux-x86_64, -linux-arm64, -linux-armv7 |
Linux command line for x86-64, 64-bit Arm, and 32-bit Arm (hard float; interpreter + wasmi), built against glibc 2.35. |
zipp-0.0.44-linux-<arch>-plugins.tar.gz |
Dynamic C-ABI v2 language/runtime/GPU plugins + plugins.sha256 for each Linux architecture (armv7 ships the 6 non-GPU plugins). |
zipp-0.0.44-javascript.wasm |
The JavaScript engine for browsers, Node, Deno, and Bun. |
zipp-0.0.44-javascript-typescript.wasm |
The same with TypeScript and TSX. |
zipp-0.0.44-javascript-lite.wasm |
The JavaScript core without Intl and Temporal, built for size. |
zipp-0.0.44-javascript-python.wasm |
JavaScript and Python, torch built in. |
zipp-0.0.44-javascript-python-base.wasm |
JavaScript and Python without torch. |
zipp-0.0.44-javascript-php.wasm |
JavaScript and PHP 8.x, with PhpApp SAPI and SQL bridge support. |
zipp-0.0.44-javascript-rust.wasm |
JavaScript and Rust, with Axum/SQLx worker-boot support. |
zipp-0.0.44-torch-package.wasm |
The torch package for the -python-base engine. |
zipp-0.0.44-<engine>.wasm.br |
Each WebAssembly module compressed with Brotli (quality 11). |
zipp-0.0.44-wasm-embed-kit.zip |
zipp.mjs (loader & sandbox), host SDK, TypeScript declarations, browser GPU adapter, docs, and examples. |
SHA256SUMS |
Checksums of every file. |
Verification
- All release binaries, dynamic plugin bundles, WebAssembly variants, and the embed kit are built and verified from the tagged commit in release.yml and release-build.yml.
- Every WebAssembly engine module retains the audited 51-function host import surface (plus
zippTorchKernelon Python builds) and the 1 GiB linear memory cap (40/40 boundary checks passing).
Full Changelog: v0.0.43...v0.0.44