Tất cả phiên bản v0.1.35413 Tháng 10 2026Hiển thị, JavaScript và JIT, Bộ nhớ và đọc Feed

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

Floati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles up

Floati now turns hot JavaScript into machine code with a compiler of its own, Updraft, starting with its first tier, Gust. Until now that job went to a general-purpose code generator (Cranelift) built for many kinds of programs. Gust is built for this engine alone: it compiles a function in well under a microsecond per operation, about a hundred times faster than before, and the memory holding compiled code is given back once no page needs it, where before every compiled function kept its memory for as long as the browser ran. Code that becomes hot still moves on to the optimizing compiler, so pages run at least as fast as before. Long sessions also stay leaner: memory that is waiting to be freed is now kept bounded, so a page that rebuilds large structures in a loop peaks at about a fifth of the memory it used to. Two correctness bugs were fixed on the way.

75 -> 0.62 microsecondsCompile cost per operation, five real pages
49 -> 20 msPage-building benchmark, Gust alone
376 -> 73 MBPeak memory, 400 rebuilt page trees
Điểm nổi bật3

Why Floati builds its own compiler

Floati is built from scratch so that every layer can be shaped for one job: showing the web quickly and privately on your own machine. Until this release, one important layer was borrowed: hot JavaScript was compiled to machine code by Cranelift, a general-purpose code generator made for many kinds of programs. It produces good code but pays for its generality: about a hundred microseconds per operation to compile, five internal copies of every function while it works, and machine code that was never given back. Updraft is Floati's own compiler, built in tiers. Gust, the first, writes ARM64 machine code directly from the engine's own plan of each function, using the same frame layout as the interpreter, so moving between the interpreter and compiled code needs no translation, and it frees compiled code when no page needs it. Thermal, the optimizing tier, comes later. The decision has one rule: Cranelift leaves Floati only when Updraft is better on every measured axis (compile time, run speed, real pages, memory, code size, correctness, safety, profiling) on every platform Floati runs on. Until then the two run side by side, and hot code still moves on to Cranelift's optimizing code.

Compile cost per operation, five real pages75 -> 0.62 microsecondsMachine code held after 1,500 compiles of discarded pages25.5 MB -> 0.25 MBScript time on eleven real pagesunchanged (no page slower)

Gust learned the engine's fast paths

A first compiler that only copied plain operations would leave most of the work to slow general helpers. Gust answers the common cases inline, as the optimizing compiler does: method calls such as Math.max and push, reading an object by a computed key, comparing two strings, for-in over an object, and the remainder of two whole numbers, and compiled functions call each other directly. Each fast path keeps its exact meaning: a frozen array still refuses push, a replaced Math.max is called, and a key added to a prototype in the middle of a run is seen. On a page-building benchmark, code running in Gust alone went from 49 to 20 milliseconds.

Page-building benchmark, Gust alone49 -> 20 msSame benchmark, as shippedabout 8 ms, unchanged

Long sessions stay lean

When a large structure is no longer needed, Floati frees most of it on a helper thread so the page does not pause. When a page threw away big structures faster than the helper could free them, they queued up: rebuilding a thousand page trees in a loop held over a gigabyte of dead memory at its peak. The queue is now bounded, and past the bound the page frees the next structure itself, so dead memory stays small while the helper still shares the work. The allocator also stopped scanning every memory page it owns to find memory freed by other threads; it now visits only the regions that were touched.

Peak memory, 400 rebuilt page trees376 -> 73 MBTime for the same loopunchanged

Những gì đã thay đổi

7 thay đổi
  1. JavaScript và JITFloati compiles hot JavaScript with its own compiler, Updraft, starting with the Gust tier on Apple Silicon and ARM Linux: about a hundred times cheaper to compile (75 -> 0.62 microseconds per operation), with hot code still moving on to the optimizing compiler.
  2. Bộ nhớ và đọcCompiled machine code is given back when no page needs it; before, every compiled function kept its memory until the browser closed.
  3. JavaScript và JITGust answers Math functions, push, keyed reads, string comparisons, for-in and whole-number remainders inline, and calls compiled functions directly.
  4. Bộ nhớ và đọcMemory waiting to be freed is now bounded: rebuilding large page structures in a loop peaks at 73 MB instead of 376 MB.
  5. Bộ nhớ và đọcThe allocator only scans memory regions where other threads freed something, instead of every page it owns.
  6. JavaScript và JITFixed: a check like typeof x === 'string' could answer wrongly when a text was passed straight into a small helper function in a hot loop.
  7. Hiển thịFixed: two WebAssembly SIMD instructions (f32x4.convert_i32x4 and i32x4.trunc_sat_f64x2_zero) were swapped, and some rounding instructions returned an unquieted NaN on Linux.

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
typeof of a text passed in directly answers stringĐang kiểm traCó
Math.max keeps -0 below +0 and NaN as NaNĐang kiểm traCó
push on a frozen array still throwsĐang kiểm traCó
for-in sees a prototype key added mid-runĐang kiểm traCó
A remainder keeps the sign of its dividendĐang kiểm traCó
Equal texts built differently compare equalĐang kiểm traCó
o[key] reads the right value across object layoutsĐang kiểm traCó
Đạt 7 / 7
Mọi thứ kể từ v0.1.354 ở 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 · 13 phiên bản

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

38530 Tháng 10Ahead of the reference runtime on 7 of 8 workloadsv0.1.385 · Bộ nhớ và đọc32 38429 Tháng 10Safety review, a rare crash fixed, functions compiled soonerv0.1.384 · Bộ nhớ và đọc46 38327 Tháng 10JavaScript ahead of the reference runtime on six of eight speed testsv0.1.383 · JavaScript và JIT36 38225 Tháng 10Closed tabs give their memory back, and XML pages read as XMLv0.1.382 · Bộ nhớ và đọc12 38125 Tháng 10Lighter script code, and calls between scripts that run as ordinary callsv0.1.381 · Bộ nhớ và đọc15 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 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 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 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 35413 Tháng 10Floati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript và JIT · thử ngay 35211 Tháng 10Code that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Hiển thị · thử ngay10 35010 Tháng 10Helpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript và JIT · thử ngay14 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 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 3352 Tháng 10A developer-docs site works like the reference browser, and every frame gets its own built-insv0.1.335 · Hiển thị12 3342 Tháng 10Iframes that cost what a paragraph costs, live selections, and rounder cornersv0.1.334 · Hiển thị10 3331 Tháng 10Fewer script errors on real sites, and finished pages give all their memory backv0.1.333 · JavaScript và JIT10 3311 Tháng 10A crash on busy news sites fixed, and pages lighter on the processorv0.1.331 · Hiển thị 3301 Tháng 10JavaScript scores 100, and big pages stop stuttering when they clean upv0.1.330 · JavaScript và JIT11

Tháng 92026 · 29 phiên bản

32930 Tháng 9The JavaScript engine proves what it can skipv0.1.329 · JavaScript và JIT9 32830 Tháng 9JavaScript runs at the reference browser's speed on 41 of our 42 measured workloadsv0.1.328 · JavaScript và JIT 32528 Tháng 9Deep recursion runs like it does in the reference browserv0.1.325 · JavaScript và JIT 32327 Tháng 9JavaScript measured at 94, JSON three times faster, and a round of fixes found against the reference browserv0.1.323 · JavaScript và JIT11 32227 Tháng 9Closed pages give their memory back whole, and JavaScript measured at 87v0.1.322 · JavaScript và JIT11 32127 Tháng 9Half the memory, and JavaScript measured at 80v0.1.321 · JavaScript và JIT14 32026 Tháng 9Pages no longer freeze while a script waits on the networkv0.1.320 · JavaScript và JIT 31926 Tháng 9A PDF viewer that does what Acrobat Pro charges forv0.1.319 · Thẻ và giao diện16 31025 Tháng 9Pages stay alive, repaints never block your scroll, and type matches the reference browser'sv0.1.310 · Hiển thị10 30924 Tháng 9Pages arrive like they do in the reference browser, in a fraction of the memoryv0.1.309 · Mạng13 30824 Tháng 9Pages drawn by your graphics card, and scrolling that never waitsv0.1.308 · Hiển thị 30122 Tháng 9Sites can no longer follow you between other sites, and the next page starts soonerv0.1.301 · Quyền riêng tư và Shields 30019 Tháng 9Reads the newest web compression, reuses secure connections, and remembers where sites livev0.1.300 · Bộ nhớ và đọc 29717 Tháng 9Setting up and filling arrays of numbers is now several times faster, and faster than the reference browserv0.1.297 · JavaScript và JIT 29116 Tháng 9A private wayback machine for pages you seal, cited answers that open where you read them, and a privacy report that is ready the instant a page loadsv0.1.291 · Bộ nhớ và đọc 29015 Tháng 9Floati spots trackers no list has caught, answers your questions from your own reading, and gets even closer to the pixelv0.1.290 · Quyền riêng tư và Shields 28815 Tháng 9The pages where you type a password stay out of your memory, and text renders truer to the pagev0.1.288 · Bộ nhớ và đọc 28311 Tháng 9Messages between windows now prove who sent themv0.1.283 · Hiển thị 28111 Tháng 9See a site's own rules protect you, and what it was never toldv0.1.281 · Hiển thị 27410 Tháng 9Fingerprint Shield: see and prove what a page tried to learn about youv0.1.274 · Bộ nhớ và đọc 2468 Tháng 9Memory: your browser remembers what you read, and can prove itv0.1.246 · Bộ nhớ và đọc 2346 Tháng 9WebAssembly SIMD lands, completing the WebAssembly platformv0.1.234 · Hiển thị 2335 Tháng 9Real WebAssembly apps that share memory with the page now workv0.1.233 · Bộ nhớ và đọc 2173 Tháng 9Your passwords, the Floati wayv0.1.217 · Thẻ và giao diện 2112 Tháng 9A correctness fix for today's list-speed improvementv0.1.211 · JavaScript và JIT 2102 Tháng 9The most common way people work with lists of data now runs at full speedv0.1.210 · JavaScript và JIT 2092 Tháng 9Big objects are instant now, instead of getting slower the more you addv0.1.209 · Bộ nhớ và đọc 2082 Tháng 9Floati's own engine got dramatically faster at the code real pages run every framev0.1.208 · JavaScript và JIT 2061 Tháng 9Explain this page: the browser now understands what a site does, and can prove itv0.1.206 · Quyền riêng tư và Shields

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

20328 Tháng 8Pages you open with the Floati engine now render on your graphics cardv0.1.203 · Hiển thị 19421 Tháng 8Faster on pages that change as you use them - plus a tab-hover fixv0.1.194 · Thẻ và giao diện 19321 Tháng 8Select text, find on the page, and zoom - plus faster renderingv0.1.193 · Thẻ và giao diện 18619 Tháng 8Engine tabs remember where you werev0.1.186 · Thẻ và giao diện 14814 Tháng 8WebAssembly numbers stay exact: 64-bit integers cross as BigIntv0.1.148 · JavaScript và JIT 14714 Tháng 8WebAssembly interop rounds out: imported globals and memoryv0.1.147 · Bộ nhớ và đọc 13914 Tháng 8WebGL can texture from an image or a canvasv0.1.139 · Hiển thị 13414 Tháng 8WebAssembly now runs real compiled modules, not just toy onesv0.1.134 · Bộ nhớ và đọc 13313 Tháng 8The engine now runs WebAssemblyv0.1.133 · Bộ nhớ và đọc 12813 Tháng 8HSTS: sites that demand https are never reached over plaintext, not even oncev0.1.128 · Mạng 1097 Tháng 8Web Audio convolution reverb + stereo sample playbackv0.1.109 · Đa phương tiện 785 Tháng 8Ask knows when to stop, and forms can edit their fieldsv0.1.78 · API web và DOM 775 Tháng 8Ask joins the dots across sentencesv0.1.77 · JavaScript và JIT 745 Tháng 8Bracket property access gets fast, and Ask follows your timelinev0.1.74 · Hiển thị 735 Tháng 8Building a list gets fast, and Ask hears whole phrasesv0.1.73 · JavaScript và JIT 725 Tháng 8Method calls get up to speed, and Ask spreads its sourcesv0.1.72 · Bộ nhớ và đọc 715 Tháng 8Recursion gets its speed back, and Ask reads the roomv0.1.71 · JavaScript và JIT 704 Tháng 8One press, and you are on the new versionv0.1.70 · Thẻ và giao diện 661 Tháng 8The worst score on the board turned out to be a cookie bannerv0.1.66 · Hiển thị9

Tháng 72026 · 11 phiên bản