Alle versies v0.1.35614 Okt 2026JavaScript en JIT, Geheugen en lezen, Tabbladen en interface Feed

De release-opmerkingen zijn in het Engels geschreven.

Recursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searching

This release makes three kinds of everyday JavaScript faster. Recursive functions now answer their simplest cases where they are called and run every other level inside their parent, so walking a tree makes a fraction of the calls, and recursion whose last step returns a property now compiles at all. Long loops that walk a list, keep the best object seen so far, copy objects, compare them or ask typeof now run in Floati's fastest loop tier, 20 to 40 times faster than before. Setting a property on page elements no longer searches every element prototype each time, so building elements is almost three times faster, and a getter a page puts on an element prototype now answers reads as it does in the reference browser. One crash is fixed: freeing a long linked list made inside a function no longer overflows the stack.

272 -> 24 msThe depth of a tree, ten walks
241 -> 12.4 ms (reference engine 5.9)Walking a ring of objects, 5 million steps
10 -> 3.5 msBuilding 3,000 elements, twenty times
Hoogtepunten3

Recursion makes a fraction of the calls

A tree sum before and after: 31 calls become 5
A tree sum before and after: 31 calls become 5

A recursive function usually starts with its simplest case: if the tree is empty, return 0; if n is below 2, return n. Floati's recursion tier now runs that test where the call is made, so a call that would only answer the simple case is never made, and it copies one level of the function into its parent, so every other level of a tree runs without a call at all (a technique from research on divide-and-conquer programs). Each copy still counts toward the call-depth limit and the work budget exactly as a call would, so a runaway recursion stops where it did. Once a recursive function has run, its property reads are compiled again with the object layouts they saw built in. Recursion whose last step returns a property, like the depth of a tree that returns a leaf's value, used to fall back to slower code because one path returned a number and the other a value of any type; now the two paths meet as a number, and anything else hands the work back to the interpreter.

The depth of a tree, ten walks272 -> 24 msA count whose base case returns a property80 -> 4.7 ms

Loops keep objects in registers

A list walk before and after: refused by the fastest loop tier, then run there with the object in a register
A list walk before and after: refused by the fastest loop tier, then run there with the object in a register
Before, after and the reference engine for four measurements
Before, after and the reference engine for four measurements

Floati's fastest loop tier kept numbers in registers, and objects only when the loop never changed which object a variable held. A loop like for (n = head; n !== null; n = n.next), or one that remembers the largest object seen so far, was refused and ran in a slower tier. Now such a variable holds the object directly, with no counting or copying, because these loops write nothing but their own variables: nothing they point at can be freed while they run. They can read properties, compare with null and with each other, copy, ask typeof and test truthiness; anything unusual, a getter, a missing link or a string compared by identity, hands that iteration back to the interpreter, which finishes it exactly. These are long loops the fastest tier now takes; a function that is already hot ran them in another tier and is unchanged.

Walking a ring of objects, 5 million steps241 -> 12.4 ms (reference engine 5.9)typeof of an object, 1 million checks41.6 -> 3 ms (reference engine 5.6)

Element writes stop searching

An element property write before and after: from a search of four prototypes to a remembered answer
An element property write before and after: from a search of four prototypes to a remembered answer

Every el.className = v or el.textContent = v checked whether a page script had defined that property as an accessor on one of the element's prototypes: it built two names and searched four prototypes, every time, to learn that nothing was there. On a page that builds elements this was most of its script time. Floati now remembers the answer per element type until a page changes a prototype, which makes element-building three times faster. Reads use the same memory, which fixed a gap: a getter a page defines on an element prototype, as some monitoring and compatibility scripts do, now answers reads of that property as it does in the reference browser; before, Floati answered from its own value.

Building 3,000 elements, twenty times10 -> 3.5 msA getter on an element prototypenow answers reads

Wat er veranderd is

8 wijzigingen
  1. JavaScript en JITRecursive functions answer their simple case where they are called and run alternate levels inside their parent: a tree walk makes a fraction of the calls.
  2. JavaScript en JITRecursion whose last step returns a property (a tree's depth, a count) now compiles: a tree depth 272 -> 24 ms.
  3. JavaScript en JITOnce a recursive function has run, its property reads are compiled again with the layouts they saw built in.
  4. JavaScript en JITLong loops that walk a list, keep the best object so far, copy or compare objects, or ask typeof run in the fastest loop tier: a 5 million step walk 241 -> 12.4 ms.
  5. Geheugen en lezenSetting properties on page elements remembers that no page accessor intercepts them: building elements is three times faster.
  6. JavaScript en JITA getter a page defines on an element prototype now answers reads of that property, as in the reference browser.
  7. Geheugen en lezenFixed: freeing a long linked list built inside a function no longer overflows the stack and closes the page.
  8. Tabbladen en interfaceFloati's pages and update notes now open at browser.floati.life.

Probeer in je browser

Elke test draait live in de browser waarmee je leest. Er wordt niets verstuurd.

ControleerJouw browserFloati
A recursive base case that returns a property still adds upBezig met controlerenJa
An unrolled recursion keeps its arguments in orderBezig met controlerenJa
A setter added to an element prototype after many writes runsBezig met controlerenJa
A long walk around a ring of objects keeps its placeBezig met controlerenJa
The largest object found in a loop is that very objectBezig met controlerenJa
Equal strings compare equal in a hot loopBezig met controlerenJa
Typeof in a hot loop tells functions, arrays and null apartBezig met controlerenJa
A long list built in a function is freed when it returnsBezig met controlerenJa
Geslaagd 8 / 8
Alles sinds v0.1.356 op één plek

Versies

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

november2026 · 3 versies

oktober2026 · 7 versies

september2026 · 14 versies

32026 SepPages no longer freeze while a script waits on the networkv0.1.320 · JavaScript en JIT 31725 SepCloser to the reference browser, and no more address bar tricksv0.1.317 · Web-API’s en DOM 30924 SepPages arrive like they do in the reference browser, in a fraction of the memoryv0.1.309 · Netwerk13 30322 SepHTTP/3 is on, and it is ours: the fastest web protocol, built from scratchv0.1.303 · Netwerk 30222 SepThe site you open stays your business, and the browser checks every certificate itselfv0.1.302 · Privacy en Shields 30019 SepReads the newest web compression, reuses secure connections, and remembers where sites livev0.1.300 · Geheugen en lezen 29919 SepPages start loading sooner: smarter connections and a faster path onto slow networksv0.1.299 · Netwerk 29516 SepClass-based JavaScript runs dramatically faster: calling a method through a list of objects is now many times quickerv0.1.295 · JavaScript en JIT 29416 SepInteger, bitwise and pixel-processing JavaScript runs a lot faster, and the browser still proves every shortcut before it trusts itv0.1.294 · JavaScript en JIT 29316 SepClass-based and object-heavy JavaScript runs dramatically faster, with speed the browser proves before it trustsv0.1.293 · JavaScript en JIT 29216 SepRecursive JavaScript runs dramatically faster, so the heaviest in-page computation feels quickv0.1.292 · JavaScript en JIT 27811 SepA tracker can no longer follow you from one site to the nextv0.1.278 · Weergave 27610 SepSecurity you can check: an honest ledger, a referrer firewall, and mixed content shut downv0.1.276 · Privacy en Shields 2122 SepPages you render with Floati's own engine appear right away nowv0.1.212 · Weergave

augustus2026 · 14 versies

juli2026 · 4 versies