Tutte le versioni v0.1.36018 Ott 2026Rendering, JavaScript e JIT, Schede e interfaccia Feed

Le note di rilascio sono scritte in inglese.

Every byte of machine code is Floati's own, a news site that showed blank renders, Gust's code is half the size, and closures and ?? compile

Floati now writes all of its machine code itself. The five compilers that turn hot JavaScript into machine code build Updraft IR, Floati's own compiler core, which Floati lowers to ARM64 and x86-64 code with no outside code generator in the browser any more: compiles take about half the time, the code is smaller and faster, and the browser program is 2.45 MB smaller. A large news site that showed as a blank strip in 0.1.359 renders in full again: a function's own variables were confused with a global of the same name declared inside one of its inner functions, so a framework's library read as undefined. Functions whose inner functions capture their variables, and functions that use ?? or ?., now compile instead of staying in the interpreter. Gust, the instant compiler, makes half the code it did, and its x86-64 version now runs correctly on Windows. Strings are faster and lighter (building class names 151 -> 105 ms with 3.7 times fewer allocations, a long-key hash 47 -> 31 ms), a script declaring 16,000 global functions starts in 22 ms instead of 935, callbacks over arrays run 5 times faster than in the reference engine, and a paused Map or Set iterator no longer skips an entry.

2.45 MB smallerThe browser program
64 -> 13,214 pixelsThe news site's page height
18.5 -> 9.05 MBGust code for 1,500 warm functions
In evidenza4

Why Floati now writes all of its own machine code

Every compiler in Floati now builds Updraft IR, which Floati lowers itself to ARM64 and x86-64 machine code
Every compiler in Floati now builds Updraft IR, which Floati lowers itself to ARM64 and x86-64 machine code
Before, after and the reference engine for each measurement
Before, after and the reference engine for each measurement

Updraft is the machine-code compiler Floati builds for itself. Its first tiers shipped earlier this month: Gust, which turns a function into machine code in under a microsecond per operation, and Thermal, which keeps a hot loop's numbers in the processor's registers. Until this release the other five compilers (hot loops, callbacks and recursion, batch drivers, whole functions, and typed-array vector kernels) still handed their work to a general-purpose code generator written for other projects. Now all five build Updraft IR, and Floati lowers it itself: registers chosen by linear scan, repeated values merged, loop-invariant code hoisted out of loops, checks fused into the branches that read them, and 128-bit vectors on both CPUs. Why build our own: the outside generator spent about 100 times longer per operation than a page can afford on code that runs only a few times, it knew nothing about JavaScript values or Floati's page objects, it kept code memory we could not free, and it was the last large part of the engine Floati did not own. The business decision was to own the whole engine, as Floati owns its layout, network and media code, but to remove the outside generator only once ours matched or beat it on every axis we measure. It did: an integer loop 29 -> 23 ms on ARM64, callbacks over arrays 120 -> 101 ms, entry code 238 -> 216 bytes per function in half the compile time, 1.2 times faster code on x86-64, and vector sums on Windows 175 -> 4.5 ms (the old generator could not build them there at all). Every compiled program is checked against what the IR means: 100,000 random programs with 8 inputs each, plus every test map in 13 tier configurations.

The browser program2.45 MB smallerCallbacks over arrays144 -> 95 ms (reference engine 476)

A blank news site renders again, and closures compile

A news site with a front page built by a JavaScript framework showed as a 64-pixel strip in 0.1.359, with 30 copies of one error: a property read on undefined. The cause was in how a function gets its fast plan: a var declared inside one of its inner functions was counted as the outer function's own variable, so the outer function's reads of a global with the same name, the framework's library here, read that empty variable instead. Inner functions are now left out of the scan, and the fix came with a larger change: a function whose inner functions capture its variables used to stay in the interpreter, and now gets a plan. The captured variables live in one scope made when the function is called, the way a function context works, and everything else stays in registers. Functions that use ?? and ?. compile as well. On a recorded load of the same site, functions refused a plan fell from 343 to 232.

The news site's page height64 -> 13,214 pixelsFunctions refused a plan on that site343 -> 232

Gust's code halved

Gust copied every slow path at every place it could happen: each reference count drop, each stack check and each call into the runtime carried its own save, call and restore sequence. Now each kind of slow path is one routine per function, and a site makes a short jump into it, so Gust's code for 1,500 warm functions fell from 18.5 to 9.05 MB, which also means less to compile and more of it fits in the processor's cache. Gust's x86-64 version for Intel and Windows machines now uses the Windows calling convention there, and its shared routines belong to one thread each: a routine shared across threads could read another thread's view of a replaced method, a wrong answer the new test caught 241 times in 600 runs before the fix. x86-64 Gust stays behind a switch while its code is made smaller still.

Gust code for 1,500 warm functions18.5 -> 9.05 MB

Strings, start-up and iterators

A string literal in a hot function was boxed into a new string on every call: 'a' + i + 'b' made three strings where one is the answer. It is now the literal's own value, so building class names makes 3.7 times fewer allocations. Reading s.length no longer copies the string, Map and Set hash their string keys 8 bytes at a time with a seed chosen per run, and Thermal now compiles hash loops that read strings. A script declaring many global functions checked each new name against all the earlier ones, so setting up 16,000 took almost a second; it is a single pass now. And a Map or Set iterator paused while its collection was compacted many times resumed at the wrong place and skipped an entry; it now keeps an ordinal and resumes exactly.

Building class names151 -> 105 ms, 3.7 times fewer allocations16,000 global functions set up935 -> 22 msRelease checks against the reference browser8 of 8 the same

Cosa è cambiato

9 modifiche
  1. JavaScript e JITEvery native compiler in Floati builds Updraft IR, lowered by Floati itself on ARM64 and x86-64; the outside code generator is gone and the browser program is 2.45 MB smaller.
  2. JavaScript e JITFaster code on both CPUs: an integer loop 29 -> 23 ms, callbacks over arrays 144 -> 95 ms (the reference engine 476), vector sums on Windows 175 -> 4.5 ms.
  3. RenderingA large news site that showed as a blank strip renders in full: a variable declared in an inner function no longer hides a global from the outer one.
  4. RenderingFunctions whose inner functions capture their variables, and functions using ?? and ?., compile instead of staying in the interpreter.
  5. Schede e interfacciaGust makes half the code (18.5 -> 9.05 MB on 1,500 functions), and x86-64 Gust runs correctly on Windows.
  6. JavaScript e JITStrings: one value per literal (3.7 times fewer allocations building class names), length without a copy, faster string keys in Map and Set, and hash loops over strings in Thermal.
  7. RenderingA script declaring 16,000 global functions starts in 22 ms instead of 935.
  8. RenderingA paused Map or Set iterator keeps its place through any number of compactions.
  9. JavaScript e JITEach iterator kind has its own prototype behind Iterator.prototype, and matchAll returns an iterator, as the standard says.

Prova nel tuo browser

Ogni test gira dal vivo nel browser con cui stai leggendo. Non viene inviato nulla.

VerificaIl tuo browserFloati
a closure keeps a live binding to its function's local in a hot functionVerifica in corsoSì
?? and ?. give the standard answers in a hot functionVerifica in corsoSì
a paused Map iterator keeps its place through heavy churnVerifica in corsoSì
length of a string with astral characters in a hot loopVerifica in corsoSì
a long-key murmur3 hash gives 32-bit answers in a hot functionVerifica in corsoSì
strings built in a hot function from text and numbersVerifica in corsoSì
a nested Uint8 checksum gives the same totalVerifica in corsoSì
each iterator kind has its own prototype behind Iterator.prototypeVerifica in corsoSì
Superati 8 / 8
Tutto dalla v0.1.360 in un unico posto

Versioni

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

Novembre2026 · 4 versioni

Ottobre2026 · 7 versioni

Settembre2026 · 10 versioni

Agosto2026 · 26 versioni

18218 AgoNow it also spots the audio version of that tracking trickv0.1.182 · Privacy e Shields 17918 AgoLonger videos now play all the way throughv0.1.179 · Media 17518 AgoThe browser you install now plays video, built entirely from its own codev0.1.175 · Media 17218 AgoSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Media 17116 AgoThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Media 16916 AgoDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Media 16816 AgoThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Media 16715 AgoMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Media 16615 AgoWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Media 16115 AgoGPU 3D transforms: every container renders on the devicev0.1.161 · Rendering 16015 AgoGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · API web e DOM 13113 AgoBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Rendering 12913 AgoVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Media 12513 AgofMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Media 1117 AgoWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Media 1107 AgoWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Media 1097 AgoWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Media 1087 AgoStereo Web Audio: real panning and per-channel routingv0.1.108 · Media 1057 AgoHTTP/2: the modern web transport, from scratchv0.1.105 · Media 1027 AgoModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript e JIT 976 AgoReal captionsv0.1.97 · Rendering 966 AgoStateful audio DSP: filters, delay and waveshapingv0.1.96 · Media 956 AgoReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Media 866 AgoReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Rendering 815 AgoBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript e JIT 661 AgoThe worst score on the board turned out to be a cookie bannerv0.1.66 · Rendering9

Luglio2026 · 10 versioni