Alle weergawes v0.1.36319 Okt 2026Vertoning, JavaScript en JIT, Geheue en lees Voer

Die weergawenotas is in Engels geskryf.

Thermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linear

Thermal, the optimizing compiler Floati writes for itself, now builds every function through Updraft IR on Apple silicon too, so the separate ARM64 code generator it started with is retired (1,400 lines fewer, a smaller browser). Updraft IR was measured faster on every benchmark first: a tiny function called from a hot loop went from 98 to 43 ms, because compiled callers now enter Thermal code directly, and integer loops keep their values in integer registers. Building strings got much faster: a CSS-in-JS class-name builder in a page went from 383 to 83 ms, summing string lengths in a loop from 91 to 11 ms, and appending a template to a string no longer copies the whole string each time. Two slow paths that grew with the square of their input are now linear: testing a prefix at a position in a long text (a WebIDL parser went from 2,670 to 592 ms) and appending templates in compiled functions. Floati also follows the standard in more places: iterating null or a plain object throws a TypeError, delete on a sealed object fails, generator objects inherit their function's prototype, and the v flag's set operations in regular expressions work.

98 -> 43 msA tiny hot callee (ARM64)
383 -> 83 ms (reference engine 21)Class-name builder in a page
10 of 10 the sameRelease checks against the reference browser
Hoogtepunte3

One code generator for Thermal

Thermal's old ARM64 code generator against Updraft IR, which replaces it
Thermal's old ARM64 code generator against Updraft IR, which replaces it

Thermal compiles the hottest loops with their numbers held in registers. It used to have two code generators: one that wrote ARM64 instructions directly, and Updraft IR, Floati's own compiler core, which writes ARM64 and x86-64. Updraft IR now beats the direct generator on every benchmark measured, so it is Thermal's code generator everywhere and the direct one is gone. Three changes got it there. 32-bit integer operations use the processor's 32-bit instruction forms, so no extra masking instruction follows each one. Remainder, multiplying by a constant and Math.imul stay in integer registers, with a check that falls back if a result would overflow or be -0, so a hash such as h = (h * 31 + c) % m keeps h an integer across its loop. And code that calls a function Thermal compiled now jumps straight into it: before, every such call went through a slow general call path. On x86-64 the same changes took a generator loop from 419 to 244 ms and a tiny hot callee from 630 to 279 ms.

A tiny hot callee (ARM64)98 -> 43 msA generator loop (x86-64)419 -> 244 ms

Building strings, and two quadratic paths made linear

Before, after and the reference engine in a page on an ARM64 Mac
Before, after and the reference engine in a page on an ARM64 Mac

A string built piece by piece (s = s + ' ' + a + '-' + b) used to make a new string at every +. The whole chain is now one join, an append of a short piece in a compiled loop goes to the end of the string being built, and short joins copy their bytes once. Two cases were much worse than slow. s += `${k}=${v};` in a compiled function flattened the whole string being built on every pass, so a million appends allocated 8.3 GB; it is 236 MB now. And text.startsWith(p, i) copied the rest of a long text on every call, so a tokenizer testing punctuation at each position was quadratic: the WebIDL parser the test suite runs went from 2,670 to 592 ms. Compiled loops also read a string's length directly (in UTF-16 units, so accented and emoji text count correctly) and read strings from arrays and objects without leaving machine code: summing the lengths of a thousand keys 2,000 times went from 91 to 11 ms.

Class-name builder in a page383 -> 83 ms (reference engine 21)WebIDL parse in a page2,670 -> 592 ms (reference engine 49)

More of the standard, in every tier

Each fix below makes Floati match the reference engine, checked in every compiler tier. Iterating something that cannot be iterated (for...of over null, a number or a plain object, spreading {} or destructuring 5) throws a TypeError instead of running zero times; new Map rejects entries that are not objects, and Promise.all accepts a Set. delete on a sealed object fails, and throws in strict code; x instanceof an arrow function throws; a generator object inherits its generator function's prototype; a let inside a try or catch block has a dead zone from the start of the block; toFixed prints 1e21 and above the way String does; and regular expressions with the v flag support nested classes, set difference and intersection. Plans, Floati's fast interpreter for hot functions, now also cover methods inside a bundle that calls eval, closures made inside blocks, and functions that reuse a name in an inner block.

Release checks against the reference browser10 of 10 the same

Wat verander het

12 veranderinge
  1. VertoningThermal compiles through Updraft IR on every processor; the old ARM64 code generator is retired.
  2. JavaScript en JITCalls into Thermal-compiled functions go straight in: a tiny hot callee 98 -> 43 ms.
  3. JavaScript en JITInteger loops (remainder, multiply by a constant, Math.imul) stay in integer registers in Thermal.
  4. VertoningBuilding strings: a CSS-in-JS class-name builder 383 -> 83 ms in a page.
  5. Geheue en leesAppending templates to a string no longer copies it each time (a million appends: 8.3 GB -> 236 MB allocated).
  6. VertoningstartsWith / endsWith at a position read a long text in place: a WebIDL parser 2,670 -> 592 ms.
  7. JavaScript en JITCompiled loops read string lengths and strings from arrays directly: 91 -> 11 ms on 2 million lengths.
  8. JavaScript en JITMap and Set lookups with string keys from an array run in compiled loops.
  9. JavaScript en JITIterating null, a number or a plain object throws a TypeError, as the standard says; Promise.all takes any iterable.
  10. JavaScript en JITdelete, instanceof, generator prototypes, block dead zones in try / catch, toFixed and v-flag regex sets match the standard.
  11. JavaScript en JITMore hot functions run on the fast plan interpreter: methods in eval-wrapped bundles, closures inside blocks.
  12. JavaScript en JITWindows: Gust's compiled frames are registered with the system unwinder.

Probeer in jou blaaier

Elke toets loop regstreeks in die blaaier waarmee jy lees. Niks word iewers heen gestuur nie.

KontroleerJou blaaierFloati
for...of over null, a number or a plain object throws a TypeErrorBesig om na te gaanJa
spreading or destructuring a non-iterable throws, a Proxy over an array still spreadsBesig om na te gaanJa
new Map rejects an entry that is not an objectBesig om na te gaanJa
new Set and new Map read strings, Sets and generatorsBesig om na te gaanJa
startsWith and endsWith at a position in a long accented textBesig om na te gaanJa
a method inside a function that calls eval reads its own this and parametersBesig om na te gaanJa
a block can reuse a let name with its own dead zoneBesig om na te gaanJa
Map lookups with string keys from an array, in a hot loopBesig om na te gaanJa
generator objects inherit their function's prototype; deleting a sealed property failsBesig om na te gaanJa
string lengths and template appends in a hot loop count UTF-16 unitsBesig om na te gaanJa
Geslaag 10 / 10
Alles sedert v0.1.363 op een plek

Weergawes

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

November2026 · 40 weergawes

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

Oktober2026 · 58 weergawes

Wys nog 57
September2026124 weergawes Augustus2026140 weergawes Julie202656 weergawes