Dukkan sigogi v0.1.35614 Oct 2026JavaScript da JIT, Ƙwaƙwalwa da karatu, Shafuka da fuska Feed

An rubuta bayanan sabuntawa da Turanci.

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
Muhimman abubuwa3

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

Abin da ya canza

canje-canje 8
  1. JavaScript da 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 da JITRecursion whose last step returns a property (a tree's depth, a count) now compiles: a tree depth 272 -> 24 ms.
  3. JavaScript da JITOnce a recursive function has run, its property reads are compiled again with the layouts they saw built in.
  4. JavaScript da 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. Ƙwaƙwalwa da karatuSetting properties on page elements remembers that no page accessor intercepts them: building elements is three times faster.
  6. JavaScript da JITA getter a page defines on an element prototype now answers reads of that property, as in the reference browser.
  7. Ƙwaƙwalwa da karatuFixed: freeing a long linked list built inside a function no longer overflows the stack and closes the page.
  8. Shafuka da fuskaFloati's pages and update notes now open at browser.floati.life.

Gwada a burauzarka

Kowane gwaji yana gudana kai tsaye a burauzar da kake karantawa. Ba a aika komai ko’ina ba.

DubaBurauzarkaFloati
A recursive base case that returns a property still adds upAna dubawaEe
An unrolled recursion keeps its arguments in orderAna dubawaEe
A setter added to an element prototype after many writes runsAna dubawaEe
A long walk around a ring of objects keeps its placeAna dubawaEe
The largest object found in a loop is that very objectAna dubawaEe
Equal strings compare equal in a hot loopAna dubawaEe
Typeof in a hot loop tells functions, arrays and null apartAna dubawaEe
A long list built in a function is freed when it returnsAna dubawaEe
Sun wuce 8 / 8
Duk tun v0.1.356 a wuri ɗaya

Sigogi

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

November2026 · sigogi 40

42725 NovLayouts that remember their workMafi sabo · v0.1.427 · Zane shafi9 42625 NovCompiled with what real pages runv0.1.426 · JavaScript da JIT 42525 NovBuilt with whole-program optimizationv0.1.425 · Zane shafi 42425 NovMore layout reused after a script changes the pagev0.1.424 · Zane shafi 42324 NovThe optimizing compiler works off the main threadv0.1.423 · Zane shafi 42222 NovText-reading loops and element-tree builders run fasterv0.1.422 · JavaScript da JIT14 42122 NovCalls from loops run inside the loop's own machine codev0.1.421 · JavaScript da JIT9 42021 NovPages you come back to run their scripts soonerv0.1.420 · Zane shafi17 41918 NovA faster interpreter runs the page's codev0.1.419 · JavaScript da JIT12 41815 NovScripts run faster on busy pagesv0.1.418 · JavaScript da JIT34 41711 NovPages wait less for their own scripts and stylesv0.1.417 · JavaScript da JIT13 41611 NovWebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript da JIT 41510 NovWebGPU loops count right on Macsv0.1.415 · JavaScript da JIT 41410 NovWebGPU runs in its own graphics processv0.1.414 · Zane shafi 41310 NovA graphics card reset no longer takes the browser downv0.1.413 · Zane shafi 4129 NovVideo moves to the graphics cardv0.1.412 · Kafofin watsa labarai 4119 NovNo canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · Zane shafi 4109 NovCanvas drawing moves to the graphics cardv0.1.410 · Zane shafi27 4098 NovEvery tile on the GPUv0.1.409 · Zane shafi26 4088 Nov3D at 120 frames a secondv0.1.408 · Zane shafi23 4077 NovWebGL 2v0.1.407 · Zane shafi36 4066 NovA stuck tab stops at oncev0.1.406 · Zane shafi16 4055 NovSmall WebGL drawings get smooth edgesv0.1.405 · Zane shafi 4045 NovWebGL pages finally movev0.1.404 · Zane shafi25 4035 NovWebGPU is herev0.1.403 · Zane shafi35 4024 NovA canvas that moves itself to the GPUv0.1.402 · Zane shafi 4014 Nov99% of real pages decided by the GPUv0.1.401 · Zane shafi9 4004 NovSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Zane shafi15 3994 NovAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Zane shafi22 3984 NovGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Zane shafi14 3973 NovTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Zane shafi 3963 NovAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Zane shafi 3953 NovCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Zane shafi12 3943 NovBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Zane shafi 3932 NovStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Zane shafi 3922 NovIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Shafuka da fuska 3911 NovEmoji in colour, sized as in the reference browserv0.1.391 · JavaScript da JIT 3901 NovA classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript da JIT12 3891 NovA computer maker's home page: navigation labels back, buttons apartv0.1.389 · Zane shafi 3881 NovA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Zane shafi18

October2026 · sigogi 58

Nuna ƙarin 57
September2026sigogi 124 August2026sigogi 140 July2026sigogi 56