Alle versies v0.1.35916 Okt 2026Weergave, JavaScript en JIT, Tabbladen en interface Feed

De release-opmerkingen zijn in het Engels geschreven.

Thermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard says

Thermal, the optimizing compiler Floati writes for itself, now compiles three kinds of code it used to refuse a whole function for: Math.imul, floor, ceil, sqrt, abs, min and max, each folded into one instruction; number members of an object a function is given (p.x), checked against the layout the page has been using; and a step after the loop it cannot compile, such as turning a hash into text with toString(36), which it now hands to the interpreter instead of giving up on the loop. A murmur3 hash runs 12 times faster than in 0.1.358 and a CSS-in-JS class-name hash 11 times faster, with less memory. Functions that build strings from template literals or 'text' + value, and functions that use new, now compile too. Four differences from the standard are fixed: methods and getters can no longer be called with new, class X extends Array makes real arrays, a global created by a plain assignment is a property of window, and an object in a template literal converts the way the standard says. Real pages measure the same as before, and Floati can now write x86-64 code for Intel and Windows machines behind a switch while that code is made smaller.

770 -> 62 ms (reference engine 7)A murmur3 hash with Math.imul
236 -> 179 msBuilding class names
8 of 8 the sameRelease checks against the reference browser
Hoogtepunten3

Three things Thermal no longer refuses a function for

Three things Thermal compiles now: folded Math methods, object member reads with a layout check, and a hand-over after the loop
Three things Thermal compiles now: folded Math methods, object member reads with a layout check, and a hand-over after the loop
Before, after and the reference engine for five measurements
Before, after and the reference engine for five measurements

Thermal compiles a hot loop with its numbers kept in the processor's registers, but until now one operation it did not understand anywhere in a function meant the whole function stayed on Gust. Math methods are now folded: Math.imul becomes one 32-bit multiply and Math.min one instruction, behind a single check when the function starts that Math and its methods are still the built-ins, so a page that replaces Math.imul still gets its own function called. A member read like p.x of an object the function was given checks the object's layout against the one that site has seen, loads the value from its slot, and makes sure it is a number. And an operation after the loop that Thermal does not compile, the toString(36) that ends a CSS-in-JS hash for example, no longer refuses the function: the loop runs in registers, then the values are written into the frame the interpreter uses and the interpreter runs the last few steps. Every one of these leaves for the interpreter in the same way when its check fails, and every test map also runs with Thermal forced to leave at every third operation.

A murmur3 hash with Math.imul770 -> 62 ms (reference engine 7)A CSS-in-JS class-name hash405 -> 38 ms, peak memory 33.7 -> 18.9 MB

String building and new compile

A function with a template literal (`${a}-${b}`) or a concatenation that starts with text ('id-' + n) used to stay in the interpreter, because the compiled tiers had no operation for turning a value into text. They have one now, shared with the interpreter so both convert the same way, and a chain like base + '__' + mod + i that does not start with text is now built in one step once its first piece of text is reached, instead of making a new string at every plus. Functions that use new compile too: built-in constructors such as Date and Map now remember what kind of constructor they are instead of searching their own properties on every new, which made a loop creating dates and maps a fifth faster.

Building class names236 -> 179 msnew Date, new Map, Object.create in a loop21.5 -> 16.8 ms

Closer to the standard

A method written as m() {} or a getter can no longer be called with new, and has no prototype, as the standard requires. class X extends Array now makes real arrays: new X(3) has length 3, Array.isArray says true, X.from and X.of make an X, and map, filter, slice and concat on an X give an X back. A variable created by assigning to an undeclared name in sloppy code is now a property of window, so 'x' in window, Object.keys(window), its property descriptor and delete window.x all see it. And `${obj}` now asks the object for a primitive the standard way: toString first, valueOf if toString is missing, and a TypeError for a Symbol wrapper. Fixing the third one also fixed how a global's value and window's copy of it stay in step when there is more than one script realm, such as frames.

Release checks against the reference browser8 of 8 the same

Wat er veranderd is

7 wijzigingen
  1. WeergaveThermal folds Math.imul, floor, ceil, sqrt, abs, min and max into single instructions, behind one check that they are still the built-ins: a murmur3 hash 12 times faster.
  2. JavaScript en JITThermal reads number members of an object a function is given (p.x), checked against the layout the page has been using: a member-heavy loop nearly 3 times faster.
  3. JavaScript en JITA step after a loop that Thermal cannot compile no longer refuses the whole function: a CSS-in-JS class-name hash 11 times faster, with 15 MB less at the peak.
  4. WeergaveTemplate literals and 'text' + value concatenation compile; chains build their string once instead of at every plus.
  5. WeergaveFunctions that use new compile, and built-in constructors no longer search their own properties on every new.
  6. JavaScript en JITMethods and getters are not constructors; class X extends Array makes real arrays; a plain assignment's global is a property of window; template literals convert objects as the standard says.
  7. Tabbladen en interfaceFloati can write x86-64 code for Intel and Windows machines (Gust), behind a switch for now: it is correct on every test, but its code is too large to be faster yet.

Probeer in je browser

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

ControleerJouw browserFloati
Math.imul in a hot hash loop gives 32-bit answersBezig met controlerenJa
a hash loop whose answer ends in toString(36) is the same in a hot functionBezig met controlerenJa
new of a method or a getter throws a TypeErrorBezig met controlerenJa
class extends Array makes real arraysBezig met controlerenJa
a global made by a plain assignment is a property of windowBezig met controlerenJa
a template literal converts an object with toString first, then valueOfBezig met controlerenJa
new Date and new Map in a hot function stay correctBezig met controlerenJa
a hot loop reading an object parameter follows a changed layoutBezig met controlerenJa
Geslaagd 8 / 8
Alles sinds v0.1.359 op één plek

Versies

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

november2026 · 40 versies

42725 NovLayouts that remember their workNieuwste · v0.1.427 · Weergave9 42625 NovCompiled with what real pages runv0.1.426 · JavaScript en JIT 42525 NovBuilt with whole-program optimizationv0.1.425 · Weergave 42425 NovMore layout reused after a script changes the pagev0.1.424 · Weergave 42324 NovThe optimizing compiler works off the main threadv0.1.423 · Weergave 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 · Weergave17 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 · Weergave 41310 NovA graphics card reset no longer takes the browser downv0.1.413 · Weergave 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 · Weergave 4109 NovCanvas drawing moves to the graphics cardv0.1.410 · Weergave27 4098 NovEvery tile on the GPUv0.1.409 · Weergave26 4088 Nov3D at 120 frames a secondv0.1.408 · Weergave23 4077 NovWebGL 2v0.1.407 · Weergave36 4066 NovA stuck tab stops at oncev0.1.406 · Weergave16 4055 NovSmall WebGL drawings get smooth edgesv0.1.405 · Weergave 4045 NovWebGL pages finally movev0.1.404 · Weergave25 4035 NovWebGPU is herev0.1.403 · Weergave35 4024 NovA canvas that moves itself to the GPUv0.1.402 · Weergave 4014 Nov99% of real pages decided by the GPUv0.1.401 · Weergave9 4004 NovSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Weergave15 3994 NovAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Weergave22 3984 NovGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Weergave14 3973 NovTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Weergave 3963 NovAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Weergave 3953 NovCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Weergave12 3943 NovBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Weergave 3932 NovStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Weergave 3922 NovIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Tabbladen en interface 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 · Weergave 3881 NovA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Weergave18

oktober2026 · 58 versies

Nog 57 tonen
september2026124 versies augustus2026140 versies juli202656 versies