Todas as versões v0.1.13814 Ago 2026Renderização, JavaScript e JIT Feed

As notas de versão são escritas em inglês.

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

O que mudou

3 mudanças
  1. JavaScript e 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 e 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 e 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.
Tudo desde a v0.1.138 em um só lugar

Versões

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

Novembro2026 · 19 versões

4088 Nov3D at 120 frames a secondv0.1.408 · Renderização23 4077 NovWebGL 2v0.1.407 · Renderização36 4066 NovA stuck tab stops at oncev0.1.406 · Renderização16 4055 NovSmall WebGL drawings get smooth edgesv0.1.405 · Renderização 4045 NovWebGL pages finally movev0.1.404 · Renderização25 4035 NovWebGPU is herev0.1.403 · Renderização35 4004 NovSmooth turns, the same bytes on every chip, and fields that keep their textv0.1.400 · Renderização15 3994 NovAnimations on the GPU compositor, and text that stays in its boxv0.1.399 · Renderização22 3984 NovGradient patterns that tile, animations that keep up, and a much faster canvasv0.1.398 · Renderização14 3973 NovTransitions that ease, and a GPU that draws 94% of real pages itselfv0.1.397 · Renderização 3963 NovAnimations on the GPU compositor, and spinners that spin as arcsv0.1.396 · Renderização 3953 NovCarousels that fade, badges that stay put, and floats that stay insidev0.1.395 · Renderização12 3943 NovBackground images over their colour, interlaced pictures, and borders in every colourv0.1.394 · Renderização 3932 NovStyle sheets in page order, and symbols that fall back like macOSv0.1.393 · Renderização 3922 NovIcon fonts loaded by script, and colour emoji on Windowsv0.1.392 · Abas e interface 3911 NovEmoji in colour, sized as in the reference browserv0.1.391 · JavaScript e JIT 3901 NovA classified ads site's front page: blank before, whole nowv0.1.390 · JavaScript e JIT12 3891 NovA computer maker's home page: navigation labels back, buttons apartv0.1.389 · Renderização 3881 NovA space agency's home page, a news section and a language site's header now match the referencev0.1.388 · Renderização18

Outubro2026 · 40 versões

38731 OutNews pages line up: a news site from 19.9% to 10.9% differentv0.1.387 · Renderização 38631 OutReal sites render closer to the reference browserv0.1.386 · Renderização14 38327 OutJavaScript ahead of the reference runtime on six of eight speed testsv0.1.383 · JavaScript e JIT36 38025 OutScrolling boxes scroll, pages look right, and scripts from other sites need permissionv0.1.380 · Renderização16 37924 OutPages laid out the way their authors wrote them, and less memory againv0.1.379 · Renderização22 37823 OutOther sites' data stays private, and less memory againv0.1.378 · Memória e leitura 37723 OutAbout half the memory of the reference browser on everyday sitesv0.1.377 · Memória e leitura15 37622 OutA minimized window stops piling up graphics memoryv0.1.376 · Memória e leitura 37522 OutClosed pages let go, sites stay apart, and fonts stop costing memoryv0.1.375 · Memória e leitura9 37421 OutA floating video you can move, that opens without a black flashv0.1.374 · Abas e interface 37321 OutEvery page on our own engine, two pages side by side, videos that keep playing, and your own clockv0.1.373 · Abas e interface17 37221 OutYour data stays put, your choices stick, and dictation that really listensv0.1.372 · Renderização 37121 OutDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · APIs web e DOM · teste 37021 OutOpen 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 · Privacidade e Shields · teste11 36920 OutPasskeys 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 · Privacidade e Shields · teste9 36820 OutA 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 · Privacidade e Shields · teste 36720 OutEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · APIs web e DOM · teste10 36619 OutEvents, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · APIs web e DOM · teste9 36519 OutThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript e JIT · teste 36419 OutCompiled 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 e JIT · teste 36319 OutThermal 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 e JIT · teste12 36219 OutA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Renderização · teste 36118 OutThermal 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 e JIT · teste 36018 OutEvery 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 e JIT · teste9 35916 OutThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript e JIT · teste 35816 OutThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript e JIT · teste 35715 OutLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript e JIT · teste14 35614 OutRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript e JIT · teste 35514 OutA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript e JIT · teste 34910 OutScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Renderização · teste13 3489 OutScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Renderização · teste14 3478 OutCards inside links, small print at its real size, and errors you can followv0.1.347 · Renderização · teste17 3467 OutA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Renderização · teste14 3457 OutReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Renderização · teste10 3446 OutRetina text that keeps its spacing, embeds at their real size, and an address bar that keeps upv0.1.344 · Renderização 3436 OutSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Privacidade e Shields · teste25 3425 OutTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · APIs web e DOM · teste 3415 OutCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Renderização · teste 3405 OutScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Renderização · teste10 3385 OutPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · APIs web e DOM · teste19