Все версии v0.1.36118 Окт 2026Отрисовка, JavaScript и JIT, DevTools Лента

Примечания к выпускам написаны на английском.

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. DevToolsCompiled 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 · 4 версии

Октябрь2026 · 7 версий

Сентябрь2026 · 10 версий

Август2026 · 26 версий

18218 АвгNow it also spots the audio version of that tracking trickv0.1.182 · Приватность и Shields 17918 АвгLonger videos now play all the way throughv0.1.179 · Медиа 17518 АвгThe browser you install now plays video, built entirely from its own codev0.1.175 · Медиа 17218 АвгSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Медиа 17116 АвгThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Медиа 16916 АвгDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Медиа 16816 АвгThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Медиа 16715 АвгMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Медиа 16615 АвгWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Медиа 16115 АвгGPU 3D transforms: every container renders on the devicev0.1.161 · Отрисовка 16015 АвгGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Веб-API и DOM 13113 АвгBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Отрисовка 12913 АвгVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Медиа 12513 АвгfMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Медиа 1117 АвгWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Медиа 1107 АвгWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Медиа 1097 АвгWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Медиа 1087 АвгStereo Web Audio: real panning and per-channel routingv0.1.108 · Медиа 1057 АвгHTTP/2: the modern web transport, from scratchv0.1.105 · Медиа 1027 АвгModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript и JIT 976 АвгReal captionsv0.1.97 · Отрисовка 966 АвгStateful audio DSP: filters, delay and waveshapingv0.1.96 · Медиа 956 АвгReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Медиа 866 АвгReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Отрисовка 815 АвгBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript и JIT 661 АвгThe worst score on the board turned out to be a cookie bannerv0.1.66 · Отрисовка9

Июль2026 · 10 версий