Todas as versões v0.1.1077 Ago 2026JavaScript e JIT Feed

As notas de versão são escritas em inglês.

Recursive functions with locals and captured constants, in native code

The engine already compiled simple recursive number-crunchers (like a bare Fibonacci) all the way to machine code. It now compiles the recursive functions people actually write: ones that declare their own local variables and ones that capture a constant from an outer scope. The ordinary `function fib(n){ if(n<2){ return n; } var a = fib(n-1); var b = fib(n-2); return a+b; }` now runs as native code - measured about 18.6x faster than the previous tier (19ms vs 356ms on the same work) - and so does a recursion that closes over a constant, `const K = 3; function pow(n){ return n<1 ? 1 : K*pow(n-1); }`. It stays correct by construction: the compiler only takes a body it can prove is pure and numeric, a local is only read once it definitely holds a number on every path that reaches it, and a captured value is checked to be a number once before any native code runs - anything else quietly falls back to the interpreter with an identical result. Proven bit-for-bit against the interpreter across two differential fuzzers (nine thousand generated programs) and a three-tier equivalence check. JavaScript performance (JIT) moves 42 to 44; overall holds at 51.

O que mudou

3 mudanças
  1. JavaScript e JITThe native recursion compiler now accepts bodies with their own LOCAL variables, including the everyday `var a = f(n-1); var b = f(n-2); return a+b` shape with an early base-case return. Each local becomes a machine register; a definite-assignment analysis proves a local is only ever read once it holds a number on every path, so a hoisted-but-not-yet-assigned variable is refused rather than misread. Measured about 18.6x faster than the interpreter tier on fib-with-locals.
  2. JavaScript e JITRecursive functions that CAPTURE a numeric constant from an outer scope now compile too - `const K=3; function pow(n){ return n<1 ? 1 : K*pow(n-1); }`. The captured value is checked to be a number once, before any native code runs, and passed through the recursion; a captured non-number (a string, an object) simply falls back to the interpreter with the same answer.
  3. JavaScript e JITCorrect by construction and proven: the compiler only takes a body it can show is pure and numeric with no heap effect, so a depth or fuel limit can abort and redo the whole call one tier down with a bit-identical result. Two differential fuzzers (about nine thousand generated recursive programs) and a three-tier equivalence check compare the native output to the interpreter bit-for-bit, NaN and overflow included. A separately measured non-recursive-helper case came out flat and was deliberately left on the existing tier.
Tudo desde a v0.1.107 em um só lugar

Versões

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

Novembro2026 · 1 versão

Outubro2026 · 7 versões

Setembro2026 · 3 versões

Agosto2026 · 18 versões

14614 AgoWebAssembly modules can call JavaScriptv0.1.146 · Renderização 14414 AgoExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript e JIT 13514 AgoDevTools automation: the methods a real driver reaches forv0.1.135 · APIs web e DOM 12413 AgoPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Renderização 12213 AgoTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AgoTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Abas e interface 12013 AgoDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AgoDevTools: a Sources panel with a clickable line gutterv0.1.119 · Abas e interface 11811 AgoDevTools debugger: step over, into and outv0.1.118 · JavaScript e JIT 1177 AgoDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AgoDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AgoDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AgoDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AgoVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Abas e interface 1127 AgoDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AgoThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AgoThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AgoOne press, and you are on the new versionv0.1.70 · Abas e interface

Julho2026 · 3 versões