Dukkan sigogi v0.1.41510 Nov 2026Zane shafi, JavaScript da JIT, Kafofin watsa labarai Feed

An rubuta bayanan sabuntawa da Turanci.

WebGPU loops count right on Macs

A correctness release. On Apple Silicon Macs, a WebGPU shader that added to a buffer inside a loop could lose most of its work: ten passes of v[0] += 1 left 1, not 10. It was the graphics compiler's mistake around a guard our shader translator puts in every loop, and it was there in every release with WebGPU on Macs. The guard is now written in a form the compiler keeps, and all eight test shapes give the same numbers as the reference browser. Page shaders also get a hard stop for endless loops, and canvas drawing spends less time on the CPU.

1 -> 10for (i < 10) { v[0] += 1 }
Muhimman abubuwa1

Loops that keep every pass

The shader translator adds a small guard to each loop so a broken shader cannot spin forever. Next to that guard, the Mac graphics compiler threw away stores to a buffer made inside the loop. We rebuilt the failing shaders by hand in plain Metal until the cause was clear, then changed the guard to a form the compiler cannot reason away. Our own shaders, which we know end, skip the guard on Macs, so canvas and video drawing did not get slower.

for (i < 10) { v[0] += 1 }1 -> 101000 x 1000 nested loops1 -> 1,000,000Test shapes matching the reference browser0 of 8 -> 8 of 8

Abin da ya canza

canje-canje 4
  1. JavaScript da JITFix (macOS): WebGPU loops that read and write a storage buffer keep every pass; ten passes of v[0] += 1 gave 1, now 10, matching the reference browser on all eight test shapes.
  2. JavaScript da JITSafety: a page's WebGPU loop stops after about a million passes per shader call, so an endless loop cannot hang the graphics card. Switch: FLOATI_NO_WGSL_LOOP_BOUND.
  3. Zane shafiSpeed: canvas drawing uses 9 to 36% fewer CPU instructions per draw on 9 of 11 benchmark rows, with the same pixels.
  4. Kafofin watsa labaraiSpeed (macOS): the browser's own GPU shaders, which always end, skip the loop guard, so canvas and video drawing keep their speed. Switch: FLOATI_OWN_SHADER_GUARD.
Duk tun v0.1.415 a wuri ɗaya

Sigogi

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

November2026 · siga 1

October2026 · sigogi 7

September2026 · sigogi 3

August2026 · sigogi 18

14614 AugWebAssembly modules can call JavaScriptv0.1.146 · Zane shafi 14414 AugExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript da JIT 13514 AugDevTools automation: the methods a real driver reaches forv0.1.135 · APIs na yanar gizo da DOM 12413 AugPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Zane shafi 12213 AugTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AugTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Shafuka da fuska 12013 AugDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AugDevTools: a Sources panel with a clickable line gutterv0.1.119 · Shafuka da fuska 11811 AugDevTools debugger: step over, into and outv0.1.118 · JavaScript da JIT 1177 AugDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AugDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AugDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AugDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AugVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Shafuka da fuska 1127 AugDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AugThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AugThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AugOne press, and you are on the new versionv0.1.70 · Shafuka da fuska

July2026 · sigogi 3