Semua versi v0.1.13814 Agu 2026Rendering, JavaScript dan JIT Feed

Catatan rilis ditulis dalam bahasa Inggris.

WebGL shaders gain control flow: if, for, and functions

The software WebGL engine could run straight-line shaders - a sequence of assignments - but any shader with a branch, a loop or a helper function failed to compile, and almost every non-trivial shader has all three. This release teaches the GLSL interpreter the rest of the language's everyday shape: if/else, for loops, user-defined functions with parameters and return values, the comparison and logical operators (< > <= >= == != && ||) and the ternary ?: - so a shader can decide, iterate and factor its work out into functions the way real shaders do. A hard step budget means a runaway loop errors instead of hanging the renderer, and a shader that uses something still outside the subset fails to compile rather than rendering a wrong frame. Proven end to end: a fragment shader that sums a loop inside a helper function and branches on the result renders the colour its logic selects, across five new tests. This is the coverage that turns the WebGL engine from toy-shader-only into one that runs the shaders real pages ship. Web APIs moves 57 to 58; the overall holds at 56 (still a software renderer).

Apa yang berubah

3 perubahan
  1. JavaScript dan JITGLSL control flow in the shader interpreter (core-js/gl/glsl.rs): if/else (block or single statement), for loops (with a shared per-run step budget so a runaway loop errors instead of hanging), break/continue, and discard. Statement execution now carries a control-flow signal (Normal/Break/Continue/Return) so early return and loop control compose correctly.
  2. JavaScript dan JITUser-defined GLSL functions with parameters and return values: the parser accepts any 'TYPE name(params){...}' definition (not just main), and a call binds its arguments in a fresh local scope - globals, uniforms and the texture sampler stay visible - runs the body, and yields its return value. Recursion rides the same step budget as a guard.
  3. JavaScript dan JITThe rest of the everyday expression grammar: the comparison operators (< > <= >= == !=) and logical && / || yielding booleans, and the ternary cond ? a : b. Proven by five new tests (if/else picks the branch, a for-loop accumulates, a helper function plus ternary, a runaway loop errors, and a full if+for+function shader renders its selected colour through a real draw). Whole conformance suite unchanged at 6375 of 6375, native-JIT and no-nanbox green.
Semua sejak v0.1.138 di satu tempat

Versi

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

Oktober2026 · 33 versi

37121 OktDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · API web dan DOM · coba 37021 OktOpen 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 · Privasi dan Shields · coba11 36920 OktPasskeys 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 · Privasi dan Shields · coba9 36820 OktA 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 · Privasi dan Shields · coba 36720 OktEvents, 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 dan DOM · coba10 36619 OktEvents, 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 dan DOM · coba9 36519 OktThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript dan JIT · coba 36419 OktCompiled 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 dan JIT · coba 36319 OktThermal 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 dan JIT · coba12 36219 OktA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Rendering · coba 36118 OktThermal 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 dan JIT · coba 36018 OktEvery 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 dan JIT · coba9 35916 OktThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript dan JIT · coba 35816 OktThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript dan JIT · coba 35715 OktLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript dan JIT · coba14 35614 OktRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript dan JIT · coba 35514 OktA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript dan JIT · coba 35413 OktFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript dan JIT · coba 35311 OktStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · Rendering · coba 35211 OktCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Rendering · coba10 35111 OktStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript dan JIT · coba12 35010 OktHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript dan JIT · coba14 34910 OktScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Rendering · coba13 3489 OktScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Rendering · coba14 3478 OktCards inside links, small print at its real size, and errors you can followv0.1.347 · Rendering · coba17 3467 OktA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Rendering · coba14 3457 OktReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Rendering · coba10 3436 OktSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Privasi dan Shields · coba25 3425 OktTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · API web dan DOM · coba 3415 OktCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Rendering · coba 3405 OktScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Rendering · coba10 3395 OktEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · API web dan DOM · coba12 3385 OktPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · API web dan DOM · coba19