सभी वर्ज़न v0.1.1037 अग 2026रेंडरिंग, JavaScript और JIT फ़ीड

रिलीज़ नोट्स अंग्रेज़ी में लिखे गए हैं।

Generators that actually suspend: function*/yield on the resumable VM

Generators were faking it. Calling a `function*` used to run the whole body to completion right then and there, collecting every `yield` into a hidden array and handing back an iterator over that finished list. That is fine for the simplest finite case and wrong for everything else: an infinite generator hung the tab, `const x = yield` could never receive the value passed to `.next(v)`, and all of a generator's side effects fired up front in the wrong order. They are real now, built on the SAME resumable interpreter that fixed async/await: calling a `function*` returns a generator object and runs NOTHING; each `.next()` runs the body to the next `yield`, which suspends it - reifying its stack, environment and try/finally state onto the heap - and resumes it synchronously on the next call. So an infinite `while(true) yield i++` is fine as long as you pull finitely many values, `.next(v)` delivers `v` to the waiting `yield`, `.return()` runs a spanning `finally`, `.throw()` is catchable inside, and `yield*` delegates to any iterable. for-of, spread, destructuring, `Array.from`, `new Map(gen)` and a class whose `[Symbol.iterator]` is a `*method` all drive them through the real iterator protocol. JavaScript language moves 78 to 80; overall holds at 50, because a language feature - however flagship - is not one of the named infrastructure floors (GPU, video, HTTP/2, multi-process) that gate the climb past halfway. 24 behaviour tests, gate 6375/6375.

क्या बदला

3 बदलाव
  1. JavaScript और JITfunction*/yield are real lazy generators now, not the old eager stub. Calling a generator runs none of the body; each .next() runs to the next yield and suspends there, reifying the frame (operand stack, environment, and its try/finally/staged-completion state) onto the heap exactly as async/await does, then resumes synchronously on the next call. Proven by laziness, infinity and two-way tests the eager model could never pass: side effects interleave with consumer code, `function* nats(){ while(true) yield i++ }` yields its first values without hanging, and `.next(v)` is the value of the resumed yield.
  2. रेंडरिंगTwo-way communication and early termination: `const x = yield e` evaluates to whatever `.next(v)` passes, `.throw(e)` throws at the yield point so a try/catch spanning it can handle it, and `.return(v)` performs a return there, running any finally that spans the yield. A generator that creates and drives another generator mid-body keeps its own suspended slot with no aliasing.
  3. JavaScript और JITThe iterator protocol is wired through the VM: for-of, spread `[...g()]`, array destructuring, `Array.from`, `Object.groupBy`, and `new Map`/`new Set`/`new WeakMap`/`new WeakSet` all drive a generator or user iterator by calling its `.next()`, and `yield* iterable` delegates to arrays, strings and other generators (pulled lazily) and evaluates to the inner iterators return value. A class whose `[Symbol.iterator]` is a `*method` is now iterable - the everyday way to make an object iterable. Research note: docs/generators-resumable-vm.md.
v0.1.103 के बाद से सब कुछ एक जगह

वर्ज़न

v0.1.0 - 0.1.9 · 10 जुल 2026418v0.1.427 · 25 नव 2026

नवमबर2026 · 1 वर्ज़न

अक्टूबर2026 · 7 वर्ज़न

सितमबर2026 · 3 वर्ज़न

अगस्त2026 · 18 वर्ज़न

14614 अगWebAssembly modules can call JavaScriptv0.1.146 · रेंडरिंग 14414 अगExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript और JIT 13514 अगDevTools automation: the methods a real driver reaches forv0.1.135 · वेब API और DOM 12413 अगPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · रेंडरिंग 12213 अगTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 अगTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · टैब और इंटरफ़ेस 12013 अगDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 अगDevTools: a Sources panel with a clickable line gutterv0.1.119 · टैब और इंटरफ़ेस 11811 अगDevTools debugger: step over, into and outv0.1.118 · JavaScript और JIT 1177 अगDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 अगDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 अगDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 अगDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 अगVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · टैब और इंटरफ़ेस 1127 अगDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 अगThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 अगThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 अगOne press, and you are on the new versionv0.1.70 · टैब और इंटरफ़ेस

जुलाई2026 · 3 वर्ज़न