Tất cả phiên bản v0.1.36018 Tháng 10 2026Hiển thị, JavaScript và JIT, Thẻ và giao diện Feed

Ghi chú phát hành được viết bằng tiếng Anh.

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
Điểm nổi bật4

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

Những gì đã thay đổi

9 thay đổi
  1. JavaScript và 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 và 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. Hiển thịA 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. Hiển thịFunctions whose inner functions capture their variables, and functions using ?? and ?., compile instead of staying in the interpreter.
  5. Thẻ và giao diệnGust makes half the code (18.5 -> 9.05 MB on 1,500 functions), and x86-64 Gust runs correctly on Windows.
  6. JavaScript và 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. Hiển thịA script declaring 16,000 global functions starts in 22 ms instead of 935.
  8. Hiển thịA paused Map or Set iterator keeps its place through any number of compactions.
  9. JavaScript và JITEach iterator kind has its own prototype behind Iterator.prototype, and matchAll returns an iterator, as the standard says.

Thử trong trình duyệt của bạn

Mỗi phép kiểm tra chạy trực tiếp trong trình duyệt bạn đang đọc. Không có gì được gửi đi đâu cả.

Kiểm traTrình duyệt của bạnFloati
a closure keeps a live binding to its function's local in a hot functionĐang kiểm traCó
?? and ?. give the standard answers in a hot functionĐang kiểm traCó
a paused Map iterator keeps its place through heavy churnĐang kiểm traCó
length of a string with astral characters in a hot loopĐang kiểm traCó
a long-key murmur3 hash gives 32-bit answers in a hot functionĐang kiểm traCó
strings built in a hot function from text and numbersĐang kiểm traCó
a nested Uint8 checksum gives the same totalĐang kiểm traCó
each iterator kind has its own prototype behind Iterator.prototypeĐang kiểm traCó
Đạt 8 / 8
Mọi thứ kể từ v0.1.360 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026

Tháng 112026 · 19 phiên bản

4088 Tháng 113D at 120 frames a secondv0.1.408 · Hiển thị23 4077 Tháng 11WebGL 2v0.1.407 · Hiển thị36 4066 Tháng 11A stuck tab stops at oncev0.1.406 · Hiển thị16 4055 Tháng 11Small WebGL drawings get smooth edgesv0.1.405 · Hiển thị 4045 Tháng 11WebGL pages finally movev0.1.404 · Hiển thị25 4035 Tháng 11WebGPU is herev0.1.403 · Hiển thị35 4004 Tháng 11Smooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Hiển thị15 3994 Tháng 11Animations on the GPU compositor, and text that stays in its boxv0.1.399 · Hiển thị22 3984 Tháng 11Gradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Hiển thị14 3973 Tháng 11Transitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Hiển thị 3963 Tháng 11Animations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Hiển thị 3953 Tháng 11Carousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Hiển thị12 3943 Tháng 11Background images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Hiển thị 3932 Tháng 11Style sheets in page order, and symbols that fall back like macOSv0.1.393 · Hiển thị 3922 Tháng 11Icon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Thẻ và giao diện 3911 Tháng 11Emoji in colour, sized as in the reference browserv0.1.391 · JavaScript và JIT 3901 Tháng 11A classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript và JIT12 3891 Tháng 11A computer maker's home page: navigation labels back, buttons apartv0.1.389 · Hiển thị 3881 Tháng 11A space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Hiển thị18

Tháng 102026 · 40 phiên bản

38731 Tháng 10News pages line up: a news site from 19.9% to 10.9% differentv0.1.387 · Hiển thị 38631 Tháng 10Real sites render closer to the reference browserv0.1.386 · Hiển thị14 38327 Tháng 10JavaScript ahead of the reference runtime on six of eight speed testsv0.1.383 · JavaScript và JIT36 38025 Tháng 10Scrolling boxes scroll, pages look right, and scripts from other sites need permissionv0.1.380 · Hiển thị16 37924 Tháng 10Pages laid out the way their authors wrote them, and less memory againv0.1.379 · Hiển thị22 37823 Tháng 10Other sites' data stays private, and less memory againv0.1.378 · Bộ nhớ và đọc 37723 Tháng 10About half the memory of the reference browser on everyday sitesv0.1.377 · Bộ nhớ và đọc15 37622 Tháng 10A minimized window stops piling up graphics memoryv0.1.376 · Bộ nhớ và đọc 37522 Tháng 10Closed pages let go, sites stay apart, and fonts stop costing memoryv0.1.375 · Bộ nhớ và đọc9 37421 Tháng 10A floating video you can move, that opens without a black flashv0.1.374 · Thẻ và giao diện 37321 Tháng 10Every page on our own engine, two pages side by side, videos that keep playing, and your own clockv0.1.373 · Thẻ và giao diện17 37221 Tháng 10Your data stays put, your choices stick, and dictation that really listensv0.1.372 · Hiển thị 37121 Tháng 10Drop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · API web và DOM · thử ngay 37021 Tháng 10Open your files, share to your phone, have pages read aloud, install sites as apps, play with a controller, and accented text drawn rightv0.1.370 · Quyền riêng tư và Shields · thử ngay11 36920 Tháng 10Passkeys with Touch ID and Windows Hello, sites that work offline, notifications you allow, and devices asked for first, all kept on your devicev0.1.369 · Quyền riêng tư và Shields · thử ngay9 36820 Tháng 10A site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from scriptv0.1.368 · Quyền riêng tư và Shields · thử ngay 36720 Tháng 10Events, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · API web và DOM · thử ngay10 36619 Tháng 10Events, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · API web và DOM · thử ngay9 36519 Tháng 10The code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript và JIT · thử ngay 36419 Tháng 10Compiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machinesv0.1.364 · JavaScript và JIT · thử ngay 36319 Tháng 10Thermal 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 linearv0.1.363 · JavaScript và JIT · thử ngay12 36219 Tháng 10A page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Hiển thị · thử ngay 36118 Tháng 10Thermal 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 fasterv0.1.361 · JavaScript và JIT · thử ngay 36018 Tháng 10Every 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 ?? compilev0.1.360 · JavaScript và JIT · thử ngay9 35916 Tháng 10Thermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript và JIT · thử ngay 35816 Tháng 10Thermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript và JIT · thử ngay 35715 Tháng 10Loops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript và JIT · thử ngay14 35614 Tháng 10Recursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript và JIT · thử ngay 35514 Tháng 10A hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript và JIT · thử ngay 34910 Tháng 10Scripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Hiển thị · thử ngay13 3489 Tháng 10Scripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Hiển thị · thử ngay14 3478 Tháng 10Cards inside links, small print at its real size, and errors you can followv0.1.347 · Hiển thị · thử ngay17 3467 Tháng 10A real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Hiển thị · thử ngay14 3457 Tháng 10Real WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Hiển thị · thử ngay10 3446 Tháng 10Retina text that keeps its spacing, embeds at their real size, and an address bar that keeps upv0.1.344 · Hiển thị 3436 Tháng 10Sign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Quyền riêng tư và Shields · thử ngay25 3425 Tháng 10Theme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · API web và DOM · thử ngay 3415 Tháng 10Canvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Hiển thị · thử ngay 3405 Tháng 10Scripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Hiển thị · thử ngay10 3385 Tháng 10Pages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · API web và DOM · thử ngay19