所有版本 v0.1.36118 十月 2026渲染, JavaScript 与 JIT, 开发者工具 订阅

版本说明以英文撰写。

Thermal runs on Windows and Intel machines, a register fix for compiled code on Windows, try / catch compiles, and reading a growing string is 200 times faster

Thermal, the optimizing compiler Floati writes for itself, now runs on x86-64 as well as on ARM64: it builds Updraft IR, Floati's own compiler core, which lowers it for both processors. On an x86-64 machine a murmur3 hash went from 1,606 to 166 ms and a Math.imul hash from 1,844 to 87 ms, so Windows and Intel machines now sit as close to the reference engine as Apple silicon Macs do. This release also fixes a bug on Windows: compiled code used three floating-point registers the Windows calling convention says a function must leave as it found them, and compiled code now saves them; it also tells Windows how to walk through its frames, so crash reports and debuggers see the whole stack. Functions with try / catch now run on the plan interpreter instead of the slowest tier, a loop that adds to a string and reads the newest character went from 1,079 to 5 ms (the reference engine takes 66), and two places where Floati differed from the standard are fixed: a throwing Symbol.hasInstance getter, and a getter defined over a built-in array method.

1,606 -> 166 ms (reference engine 69)A murmur3 hash on x86-64
about 4 microsecondsRegistering a function with the unwinder
1,079 -> 5 ms (reference engine 66)Append a character, read it (64k)
亮点3

One Thermal for both processors

Hash loops on x86-64 before and after Thermal, with the reference engine on the same machine
Hash loops on x86-64 before and after Thermal, with the reference engine on the same machine
Before, after and the reference engine on an ARM64 Mac
Before, after and the reference engine on an ARM64 Mac

Thermal compiles a hot loop with its numbers kept in the processor's registers. Until now it wrote ARM64 instructions directly, so on x86-64 hot hashing and numeric loops never reached it. Thermal now builds Updraft IR, the compiler core every other Floati compiler already uses, and Updraft lowers it for ARM64 and x86-64 alike: one Thermal, both processors, with the IR's register allocation and loop optimizations underneath. Two refinements came with it, on both processors. A parameter that has only ever held integers is kept as an integer (checked at the function's entry, and any other value runs the function in its other tiers), so a hash whose state starts from a parameter stays in an integer register instead of becoming a double at the top of its loop. And a 32-bit value that was just widened is not narrowed again by a separate instruction. The IR version is checked against the ARM64 emitter on every test map in two more test configurations, one of which leaves compiled code at every third operation, on Apple silicon and on x86-64 Linux.

A murmur3 hash on x86-641,606 -> 166 ms (reference engine 69)A Math.imul hash on x86-641,844 -> 87 ms (reference engine 24)

Compiled code on Windows keeps the caller's registers

On Windows, the registers xmm6 to xmm15 belong to the caller: a function that uses one must put back what it held. Floati's compiled code used xmm13 to xmm15 as scratch registers without saving them, which is fine on macOS and Linux and wrong on Windows. A new test that fills every register Windows says must survive a call, calls compiled code, and checks each one afterwards found it at once. Compiled code on Windows now saves and restores them. Compiled code is also registered with Windows' unwinder now: each function's prologue is described the way the operating system expects, so a crash report, a debugger or a profiler can walk from compiled code back to its caller.

Registering a function with the unwinderabout 4 microseconds

try / catch, growing strings, and two standard fixes

A function with try / catch used to stay in the bytecode interpreter, the slowest tier, and minified code often names a catch binding after a parameter (function(e){ try {...} catch(e) {...} }), which also kept a function there. Both now run on the plan interpreter: a thrown error inside a try goes to its catch with the operand stack restored, an error a callee throws is caught the same way, and a caught error carries the stack trace it would have had. Budget stops and interrupts stay uncatchable, as they are in the interpreter. Appending to a long string builds a rope (the pieces are not copied each time), but reading one character flattened the whole rope into a flat string, so a loop that appends and reads the newest character was quadratic. Characters are now read from the rope where they sit. A Symbol.hasInstance defined as a getter that throws now throws from instanceof, as the standard says, and a getter defined over a built-in array method such as push is what arrays call.

Append a character, read it (64k)1,079 -> 5 ms (reference engine 66)Release checks against the reference browser8 of 8 the same

改动内容

7 项改动
  1. JavaScript 与 JITThermal, Floati's optimizing compiler, runs on x86-64 (Windows, Intel Macs, Linux): hash loops 10 to 21 times faster there.
  2. JavaScript 与 JITFixed on Windows: compiled code left three floating-point registers changed that a function must preserve.
  3. 开发者工具Compiled code is registered with Windows' unwinder, so crash reports, debuggers and profilers see through it.
  4. 渲染Integer parameters stay integers in Thermal: a hash seeded from a parameter a third faster on Apple silicon.
  5. 渲染Functions with try / catch run on the plan interpreter instead of the slowest tier.
  6. JavaScript 与 JITReading a character of a string that is still being built no longer copies it: 1,079 -> 5 ms on a 64k-character loop.
  7. JavaScript 与 JITinstanceof calls a Symbol.hasInstance getter as the standard says, and a getter over a built-in array method is honoured.

在你的浏览器中试试

每项检查都在你正在阅读的浏览器中实时运行。不会发送任何内容。

检查你的浏览器Floati
try / catch in a hot function catches, rethrows and restores the stack检查中是
a catch binding that shadows a parameter keeps the parameter检查中是
reading the newest character of a growing string is the right code unit检查中是
a split surrogate pair joins when appended, then reads as one code point检查中是
a throwing Symbol.hasInstance getter propagates from instanceof检查中是
a getter defined over Array.prototype.push is what arrays call检查中是
a murmur3 hash with an integer seed gives 32-bit answers in a hot function检查中是
a hash seeded with a fraction after integers gives the same answer检查中是
通过 8 / 8
v0.1.361 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 40 个版本

42725 十一月Layouts that remember their work最新 · v0.1.427 · 渲染9 42625 十一月Compiled with what real pages runv0.1.426 · JavaScript 与 JIT 42525 十一月Built with whole-program optimizationv0.1.425 · 渲染 42425 十一月More layout reused after a script changes the pagev0.1.424 · 渲染 42324 十一月The optimizing compiler works off the main threadv0.1.423 · 渲染 42222 十一月Text-reading loops and element-tree builders run fasterv0.1.422 · JavaScript 与 JIT14 42122 十一月Calls from loops run inside the loop's own machine codev0.1.421 · JavaScript 与 JIT9 42021 十一月Pages you come back to run their scripts soonerv0.1.420 · 渲染17 41918 十一月A faster interpreter runs the page's codev0.1.419 · JavaScript 与 JIT12 41815 十一月Scripts run faster on busy pagesv0.1.418 · JavaScript 与 JIT34 41711 十一月Pages wait less for their own scripts and stylesv0.1.417 · JavaScript 与 JIT13 41611 十一月WebGPU loops run 2 to 3 times faster on Macsv0.1.416 · JavaScript 与 JIT 41510 十一月WebGPU loops count right on Macsv0.1.415 · JavaScript 与 JIT 41410 十一月WebGPU runs in its own graphics processv0.1.414 · 渲染 41310 十一月A graphics card reset no longer takes the browser downv0.1.413 · 渲染 4129 十一月Video moves to the graphics cardv0.1.412 · 媒体 4119 十一月No canvas stall on Windows, patterns and every blend mode on the graphics cardv0.1.411 · 渲染 4109 十一月Canvas drawing moves to the graphics cardv0.1.410 · 渲染27 4098 十一月Every tile on the GPUv0.1.409 · 渲染26 4088 十一月3D at 120 frames a secondv0.1.408 · 渲染23 4077 十一月WebGL 2v0.1.407 · 渲染36 4066 十一月A stuck tab stops at oncev0.1.406 · 渲染16 4055 十一月Small WebGL drawings get smooth edgesv0.1.405 · 渲染 4045 十一月WebGL pages finally movev0.1.404 · 渲染25 4035 十一月WebGPU is herev0.1.403 · 渲染35 4024 十一月A canvas that moves itself to the GPUv0.1.402 · 渲染 4014 十一月99% of real pages decided by the GPUv0.1.401 · 渲染9 4004 十一月Smooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · 渲染15 3994 十一月Animations on the GPU compositor, and text that stays in its boxv0.1.399 · 渲染22 3984 十一月Gradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · 渲染14 3973 十一月Transitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · 渲染 3963 十一月Animations on the GPU compositor, and spinners that spin as arcsv0.1.396 · 渲染 3953 十一月Carousels that fade, badges that stay put, and floats that stay insidev0.1.395 · 渲染12 3943 十一月Background images over their colour, interlaced pictures, and borders in every colourv0.1.394 · 渲染 3932 十一月Style sheets in page order, and symbols that fall back like macOSv0.1.393 · 渲染 3922 十一月Icon fonts loaded by script, and colour emoji on Windowsv0.1.392 · 标签页与界面 3911 十一月Emoji in colour, sized as in the reference browserv0.1.391 · JavaScript 与 JIT 3901 十一月A classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript 与 JIT12 3891 十一月A computer maker's home page: navigation labels back, buttons apartv0.1.389 · 渲染 3881 十一月A space agency's home page, a news section and a language site's header now match the referencev0.1.388 · 渲染18

十月2026 · 58 个版本

再显示 57 个
九月2026124 个版本 八月2026140 个版本 七月202656 个版本