Todas las versiones v0.1.1077 Ago 2026JavaScript y JIT Feed

Las notas de versión están escritas en 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.

Qué cambió

3 cambios
  1. JavaScript y 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 y 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 y 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.
Todo desde la v0.1.107 en un solo lugar

Versiones

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

noviembre2026 · 1 versión

octubre2026 · 7 versiones

septiembre2026 · 3 versiones

agosto2026 · 18 versiones

14614 AgoWebAssembly modules can call JavaScriptv0.1.146 · Renderizado 14414 AgoExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript y JIT 13514 AgoDevTools automation: the methods a real driver reaches forv0.1.135 · API web y DOM 12413 AgoPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Renderizado 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 · Pestañas e interfaz 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 · Pestañas e interfaz 11811 AgoDevTools debugger: step over, into and outv0.1.118 · JavaScript y 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 · Pestañas e interfaz 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 · Pestañas e interfaz

julio2026 · 3 versiones