Toutes les versions v0.1.765 Aoû 2026Rendu, JavaScript et JIT Flux

Les notes de version sont rédigées en anglais.

Type checks and string switches run at speed

This release speeds up how code makes DECISIONS. A huge amount of real JavaScript branches on a string or a type: `if (kind === 'primary')`, `if (typeof callback === 'function')`, a switch over string cases. Until now, the moment a hot loop compared a string or asked a value's type, the engine gave up speeding it up and ran the whole loop the slow way. Now both run fast: comparing a string to a constant, and checking a value's type with `typeof`, are compiled, so a tight dispatch loop runs up to about 1.8 times faster. The care here is all in getting equality exactly right, because string comparison in JavaScript is full of traps: '5' and '05' are different strings even though they look like the same number, and a string is never strictly equal to a number. The fast path compares strings by their actual text and never by number, and anything that would need real coercion quietly falls back to the careful path - so it is faster with zero change in behaviour, proven equal to the plain interpreter by a differential fuzzer that now throws every mix of string and type comparison at both paths. The engine gate holds at 6375 of 6375.

Ce qui a changé

3 changements
  1. JavaScript et JITFaster: comparing a string to a constant in a hot loop (`kind === 'primary'`, a string switch) is now compiled instead of running the whole loop interpreted - up to about 1.8x on a dispatch loop. Equality stays exact: strings compare by text not by number (so '5' and '05' stay different), and anything needing coercion falls back to the careful path.
  2. RenduFaster: `typeof x === '...'` type-guards (`typeof cb === 'function'`, `typeof v === 'undefined'`) now compile too, feeding the same string-comparison fast path.
  3. RenduBoth are proven equal to the plain interpreter by a differential fuzzer that now throws string and typeof comparisons - strict and loose, including the numeric-string traps - at both paths, and the whole engine gate holds at 6375 of 6375.
Tout depuis la v0.1.76 au même endroit

Versions

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