Все версии v0.1.35514 Окт 2026Отрисовка, JavaScript и JIT, Память и чтение Лента

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

A hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answers

This release builds on Updraft, the compiler Floati wrote for itself. A long loop can now move between the interpreter, Gust and the optimizing compiler in the middle of a run, on one shared frame, so hot code reaches fast code sooner; and because a Gust compile costs about a microsecond per operation, Floati now compiles warm code much earlier, which makes eleven real pages about 1% faster. Compiled code writes object properties itself instead of calling a general helper, one array with a named property no longer slows down every other array on the page, and functions that only compute from their arguments remember the answers they have already worked out.

123 -> 77 msWarm-up runs with 20,000-step loops
25 -> 9.5 nsA function that writes a property, per call
7 -> under 1 ms (reference engine 3 ms)fib(30)
Главное3

A loop changes compiler without stopping

A hot loop moves from the interpreter to Gust to the optimizing compiler, on one frame
A hot loop moves from the interpreter to Gust to the optimizing compiler, on one frame

Floati runs new code in its interpreter, compiles warm code with Gust, and moves code that stays hot to its optimizing compiler. Until now a function could only change compiler between calls: a long loop that started in the interpreter, or in Gust, stayed there until it finished. Because all three tiers keep a function's state in the same frame, a loop can now switch at the top of an iteration with nothing to translate: a loop in a function that is still warming up enters Gust there, and once it has run long enough to pay for the bigger compile, Gust hands the same frame to the optimizing compiler at a loop edge. Floati also prices the first compile at what a Gust compile really costs, about a microsecond per operation instead of the hundred the old code generator needed, so warm code is compiled far sooner.

Warm-up runs with 20,000-step loops123 -> 77 msScript time on eleven real pages1.0% lower, no page slower

Property writes without the detour

A property write before (six steps) and after (a layout check and a write)
A property write before (six steps) and after (a layout check and a write)

Every o.x = v in compiled code used to call a general helper, and that helper first looked up the global object by name and searched the object for a window marker before it even reached its cache. Compiled code now checks that the object has the layout this write saw last time and writes the value in place. Anything unusual (a frozen or sealed object, a read-only property, a setter, a proxy, the global object) still takes the helper, so every write means exactly what it did, and the helper itself now skips the two lookups. A second slowdown is gone too: as soon as one array anywhere on a page got a named property, as some libraries do, push, pop and the other array methods lost their fast path on every array for the rest of the session. Now only that array is treated differently.

A function that writes a property, per call25 -> 9.5 nspush and pop after one array elsewhere got a named property194 -> 38 ms

Pure recursion remembers its answers

fib(5) without memory: 15 calls; with remembered answers: 6
fib(5) without memory: 15 calls; with remembered answers: 6
Before, after and the reference engine for four measurements
Before, after and the reference engine for four measurements

Some recursive functions compute their result from their arguments and nothing else: no writes, no objects, no random numbers. Floati's recursion tier can prove that, and for such a function it now remembers each result for the arguments it was computed for, within one run. Asking again for an answer it already has costs a lookup instead of a whole subtree of calls, so a naive fib(30) does 31 computations instead of 1.35 million. The answers are exactly the ones recomputing would give, and the call stack goes as deep as before, so a runaway recursion still stops where it did. The memory resets on every new call into the function, so a value it captures can change between runs, and a recursion that never repeats a call switches the memory off by itself after a few thousand calls. This is a different kind of speed from faster calls: recursion that does not repeat work, such as walking a tree, runs as before.

fib(30)7 -> under 1 ms (reference engine 3 ms)Recursion that never repeats a callunchanged

Что изменилось

6 изменений
  1. JavaScript и JITA long loop in a function that is still warming up continues in compiled code from the top of the loop, and a hot loop moves on to the optimizing compiler at a loop edge instead of waiting for the next call.
  2. JavaScript и JITThe first compile is priced at what it really costs (about a microsecond per operation), so warm code is compiled much sooner: script time on eleven real pages is 1.0% lower, with no page slower.
  3. JavaScript и JITCompiled code writes an object property in place when the object has the layout the write saw before: a function that writes a property costs 9.5 instead of 25 nanoseconds.
  4. ОтрисовкаWrites that still need the general path skip two lookups they never needed.
  5. JavaScript и JITGiving one array a named property no longer slows push, pop and other array methods on every other array: 194 -> 38 ms in a test loop.
  6. Память и чтениеRecursive functions that compute only from their arguments remember their answers within a run; a recursion that never repeats a call turns this off by itself.

Проверьте в своём браузере

Каждая проверка выполняется прямо в браузере, в котором вы читаете. Ничего никуда не отправляется.

ПроверкаВаш браузерFloati
A loop handed between compilers mid-run keeps its stateПроверяемДа
A remembered recursive result follows a changed captured valueПроверяемДа
A remembered result tells -0 from 0ПроверяемДа
Math.random is never rememberedПроверяемДа
A frozen object refuses a compiled write in strict codeПроверяемДа
A setter defined after warm-up runs on a compiled writeПроверяемДа
An array that overrides push keeps its own after compileПроверяемДа
Пройдено 7 / 7
Всё после v0.1.355 в одном месте

Версии

v0.1.0 - 0.1.9 · 10 Июл 2026418v0.1.427 · 25 Ноя 2026

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

37121 ОктDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · Веб-API и DOM · проверить 37021 ОктOpen 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 · Приватность и Shields · проверить11 36920 ОктPasskeys 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 · Приватность и Shields · проверить9 36820 ОктA 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 · Приватность и Shields · проверить 36720 ОктEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · Веб-API и DOM · проверить10 36619 ОктEvents, 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 и DOM · проверить9 36519 ОктThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript и JIT · проверить 36419 ОктCompiled 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 и JIT · проверить 36319 ОктThermal 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 и JIT · проверить12 36219 ОктA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Отрисовка · проверить 36118 Окт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 fasterv0.1.361 · JavaScript и JIT · проверить 36018 Окт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 ?? compilev0.1.360 · JavaScript и JIT · проверить9 35916 ОктThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript и JIT · проверить 35816 ОктThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript и JIT · проверить 35715 ОктLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript и JIT · проверить14 35614 ОктRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript и JIT · проверить 35514 ОктA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript и JIT · проверить 35413 ОктFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript и JIT · проверить 35311 ОктStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · Отрисовка · проверить 35211 ОктCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Отрисовка · проверить10 35111 ОктStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript и JIT · проверить12 35010 ОктHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript и JIT · проверить14 34910 ОктScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Отрисовка · проверить13 3489 ОктScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Отрисовка · проверить14 3478 ОктCards inside links, small print at its real size, and errors you can followv0.1.347 · Отрисовка · проверить17 3467 ОктA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Отрисовка · проверить14 3457 ОктReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Отрисовка · проверить10 3436 ОктSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Приватность и Shields · проверить25 3425 ОктTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · Веб-API и DOM · проверить 3415 ОктCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Отрисовка · проверить 3405 ОктScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Отрисовка · проверить10 3395 ОктEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · Веб-API и DOM · проверить12 3385 ОктPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · Веб-API и DOM · проверить19