Alle weergawes v0.1.36018 Okt 2026Vertoning, JavaScript en JIT, Oortjies en koppelvlak Voer

Die weergawenotas is in Engels geskryf.

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
Hoogtepunte4

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

Wat verander het

9 veranderinge
  1. JavaScript en 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 en 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. VertoningA 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. VertoningFunctions whose inner functions capture their variables, and functions using ?? and ?., compile instead of staying in the interpreter.
  5. Oortjies en koppelvlakGust makes half the code (18.5 -> 9.05 MB on 1,500 functions), and x86-64 Gust runs correctly on Windows.
  6. JavaScript en 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. VertoningA script declaring 16,000 global functions starts in 22 ms instead of 935.
  8. VertoningA paused Map or Set iterator keeps its place through any number of compactions.
  9. JavaScript en JITEach iterator kind has its own prototype behind Iterator.prototype, and matchAll returns an iterator, as the standard says.

Probeer in jou blaaier

Elke toets loop regstreeks in die blaaier waarmee jy lees. Niks word iewers heen gestuur nie.

KontroleerJou blaaierFloati
a closure keeps a live binding to its function's local in a hot functionBesig om na te gaanJa
?? and ?. give the standard answers in a hot functionBesig om na te gaanJa
a paused Map iterator keeps its place through heavy churnBesig om na te gaanJa
length of a string with astral characters in a hot loopBesig om na te gaanJa
a long-key murmur3 hash gives 32-bit answers in a hot functionBesig om na te gaanJa
strings built in a hot function from text and numbersBesig om na te gaanJa
a nested Uint8 checksum gives the same totalBesig om na te gaanJa
each iterator kind has its own prototype behind Iterator.prototypeBesig om na te gaanJa
Geslaag 8 / 8
Alles sedert v0.1.360 op een plek

Weergawes

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

November2026 · 40 weergawes

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

Oktober2026 · 58 weergawes

Wys nog 57
September2026124 weergawes Augustus2026140 weergawes

Julie2026 · 56 weergawes

6531 JulWe started grading the engine on real websites, and five things broke immediatelyv0.1.65 · Vertoning 6431 JulAn ad and tracker blocker built into the engine, not bolted onto itv0.1.64 · Privaatheid en Shields 6331 JulFour real sites stopped breaking, and the engine learned to explain itselfv0.1.63 · Vertoning 6230 JulScripts get much faster, and two of the speed-ups turned out to be switched offv0.1.62 · JavaScript en JIT13 6130 JulTwenty rendering fixes found by scoring every test page against the reference browserv0.1.61 · Vertoning20 6030 JulText that measures like the reference browser, an accessibility tree, web security, and animationsv0.1.60 · Vertoning11 5825 JulRounded outlines, disclosure widgets, and a border reset fixv0.1.58 · Vertoning 5725 JulForm fieldsets render their legend properlyv0.1.57 · Vertoning 5624 JulData tables and dropdowns render rightv0.1.56 · Vertoning 5524 JulRounder corners, fixed card grids, numbered lists, decorated underlinesv0.1.55 · Vertoning 5424 JulReal 3D transforms, and the modern web renders faithfullyv0.1.54 · Vertoning 5323 JulLayout is essentially complete, and modern visual styling arrivesv0.1.53 · Vertoning 5223 JulFloati now reads HTML and CSS selectors exactly like the reference browserv0.1.52 · Vertoning 5123 JulRendering a real page with Floati's own engine no longer hangsv0.1.51 · Media 5023 JulYou can see when Floati is drawing the page itselfv0.1.50 · JavaScript en JIT 4923 JulSites you click start responding, and the web lays out like the reference browserv0.1.49 · Vertoning15 4822 JulText breathes like the reference browser, and the old web settles into placev0.1.48 · Vertoning9 4722 JulCards, columns and grids stop landing on top of each otherv0.1.47 · Vertoning 4622 JulPages sit where they should on the screenv0.1.46 · Vertoning 4522 JulThe websites that used to come out broken now come out rightv0.1.45 · Vertoning10 4421 JulA large encyclopedia works properly, and icons stop coming out as blobsv0.1.44 · Vertoning 4321 JulThe heavy pages get another three to six times fasterv0.1.43 · Vertoning 4221 JulReal pages render three to twelve times fasterv0.1.42 · Vertoning 4121 JulPages lay out faster, and even more JavaScript becomes machine codev0.1.41 · JavaScript en JIT 4021 JulJavaScript now runs in machine codev0.1.40 · JavaScript en JIT 3921 JulSecond windows work, and loops with real helpers get compiledv0.1.39 · Oortjies en koppelvlak 3820 JulLoops that call a helper get compiledv0.1.38 · JavaScript en JIT 3720 JulText-scanning loops get much fasterv0.1.37 · JavaScript en JIT 3620 JulFaster field reads, and loops over binary datav0.1.36 · Web-API’s en DOM 3520 JulLoops over objects get compiledv0.1.35 · JavaScript en JIT 3420 JulThe everyday array loop gets compiledv0.1.34 · JavaScript en JIT 3319 JulMath in loops gets compiledv0.1.33 · JavaScript en JIT 3219 JulBit-twiddling loops get compiledv0.1.32 · Vertoning 3119 JulFaster loops over listsv0.1.31 · JavaScript en JIT 3019 JulHot loops get compiledv0.1.30 · JavaScript en JIT 2919 JulFaster JavaScriptv0.1.29 · JavaScript en JIT 2819 JulMore of the modern web lays out rightv0.1.28 · Vertoning 2719 JulPages that lay out the way they shouldv0.1.27 · Vertoning 2618 JulHighlight what you read, and find it againv0.1.26 · Geheue en lees 2518 JulColumns line up, and Floati reads more closelyv0.1.25 · Vertoning 2418 JulFormulas at the right sizev0.1.24 · Vertoning 2318 JulMath formulas, and pages that refused to loadv0.1.23 · Vertoning 2218 JulNavigation bars get their spacing backv0.1.22 · Vertoning 2118 JulPrint sheets stay on paper, navs stop gluingv0.1.21 · Vertoning 2017 JulThe whole font familyv0.1.20 · Vertoning 1917 JulTypography and icons, pixel for pixelv0.1.19 · Vertoning 1817 JulReal fonts, real picturesv0.1.18 · Vertoning 1717 JulEngine pages become real tabsv0.1.17 · Oortjies en koppelvlak 1617 JulSix times faster, and jQuery worksv0.1.16 · Web-API’s en DOM 1516 JulReal sites render rightv0.1.15 · Vertoning 1415 JulVideo plays on our own enginev0.1.14 · Media 1315 JulTabs that know each otherv0.1.13 · Oortjies en koppelvlak 1214 JulThe engine starts taking overv0.1.12 · Vertoning 1112 JulPick your engine per sitev0.1.11 · Vertoning 1012 JulYour browsing, remembered locallyv0.1.10 · Geheue en lees 0-910 JulFirst public releasesv0.1.0 - 0.1.9 · Geheue en lees