Tüm sürümler v0.1.35514 Eki 2026Görüntü oluşturma, JavaScript ve JIT, Bellek ve okuma Akış

Sürüm notları İngilizce yazılmıştır.

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)
Öne çıkanlar3

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

Neler değişti

6 değişiklik
  1. JavaScript ve 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 ve 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 ve 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. Görüntü oluşturmaWrites that still need the general path skip two lookups they never needed.
  5. JavaScript ve 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. Bellek ve okumaRecursive 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.

Tarayıcınızda deneyin

Her denetim, okuduğunuz tarayıcıda canlı çalışır. Hiçbir yere bir şey gönderilmez.

Kontrol etTarayıcınızFloati
A loop handed between compilers mid-run keeps its stateDenetleniyorEvet
A remembered recursive result follows a changed captured valueDenetleniyorEvet
A remembered result tells -0 from 0DenetleniyorEvet
Math.random is never rememberedDenetleniyorEvet
A frozen object refuses a compiled write in strict codeDenetleniyorEvet
A setter defined after warm-up runs on a compiled writeDenetleniyorEvet
An array that overrides push keeps its own after compileDenetleniyorEvet
Geçti 7 / 7
v0.1.355 sürümünden bu yana her şey tek yerde

Sürümler

v0.1.0 - 0.1.9 · 10 Tem 2026418v0.1.427 · 25 Kas 2026

Kasım2026 · 4 sürüm

Ekim2026 · 7 sürüm

Eylül2026 · 10 sürüm

Ağustos2026 · 26 sürüm

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

Temmuz2026 · 10 sürüm