Tất cả phiên bản v0.1.3520 Tháng 7 2026Hiển thị, JavaScript và JIT Feed

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

Loops over objects get compiled

Floati's compiler now handles the shape most real page code is actually made of: looping over a list of objects and reading or updating their fields. Reading a field (like item.price) and writing one (like item.total = item.price * quantity) inside a hot loop now run on the fast path instead of dropping back to the interpreter, including when the objects come from an array (the very common items[i].field pattern). It reads and writes each field exactly as the interpreter would, and it steps back to the normal path the instant anything unusual is involved, a property with a custom getter or setter, a proxy, or a field that is not a plain value, so behaviour never changes. Reading a field this way is about a third faster and updating one in place a bit faster still in our benchmarks. This release is also heavily about trust: alongside the feature there is now a fuzzer that generates thousands of random compiled loops mixing every supported operation, plus deliberately awkward cases that force the compiler to bail out mid-loop, and checks that each one produces byte-identical results with the compiler on and off. The full engine test suite continues to pass identically with the speed-up switched on and off.

Những gì đã thay đổi

4 thay đổi
  1. JavaScript và JITObject fields compile in loops: reading a field (item.x) and writing one (item.x = ...) inside a hot loop now run compiled, including the everyday "for each item in the list, touch item.field" pattern. Reading is about a third faster and in-place updates a bit faster still in our benchmarks.
  2. JavaScript và JITSafe by construction: field reads and writes match the interpreter exactly and step back to it for anything with a custom getter/setter, a proxy, or a non-plain value. Writes are held until the step they belong to fully completes, so a step that bails out is redone once, never twice.
  3. JavaScript và JITTrust, measured: a new fuzzer runs thousands of random compiled loops, mixing arithmetic, bitwise work, Math, arrays, lengths, and object fields, plus cases engineered to make the compiler bail out mid-loop, and verifies every one gives byte-identical results with the speed-up on and off.
  4. Hiển thịCorrectness fix: a rare case where a property defined with a custom getter could be read as a plain value (if the engine had cached a plain version of that same property name from a different object) now correctly runs the getter. Found and fixed while building the object-field work.
Mọi thứ kể từ v0.1.35 ở 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