Semua versi v0.1.36319 Okt 2026Rendering, JavaScript dan JIT, Memori dan membaca Feed

Catatan rilis ditulis dalam bahasa Inggris.

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
Sorotan3

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

Apa yang berubah

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

Coba di browser Anda

Setiap pemeriksaan berjalan langsung di browser yang sedang Anda pakai. Tidak ada yang dikirim ke mana pun.

CekBrowser AndaFloati
for...of over null, a number or a plain object throws a TypeErrorMemeriksaYa
spreading or destructuring a non-iterable throws, a Proxy over an array still spreadsMemeriksaYa
new Map rejects an entry that is not an objectMemeriksaYa
new Set and new Map read strings, Sets and generatorsMemeriksaYa
startsWith and endsWith at a position in a long accented textMemeriksaYa
a method inside a function that calls eval reads its own this and parametersMemeriksaYa
a block can reuse a let name with its own dead zoneMemeriksaYa
Map lookups with string keys from an array, in a hot loopMemeriksaYa
generator objects inherit their function's prototype; deleting a sealed property failsMemeriksaYa
string lengths and template appends in a hot loop count UTF-16 unitsMemeriksaYa
Lolos 10 / 10
Semua sejak v0.1.363 di satu tempat

Versi

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