Все версии v0.1.13814 Авг 2026Отрисовка, JavaScript и JIT Лента

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

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).

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

3 изменения
  1. JavaScript и 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 и 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 и 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.
Всё после v0.1.138 в одном месте

Версии

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