Self-hosted JS
summary
Claims that substantial engine code lives in JavaScript and demonstrates it: extracts and commits a JS array Foo added to JavaScriptCore, implements an iterator.map polyfill in SpiderMonkey using ES6 generators and Symbol.iterator, and wires a similar generator-based map into V8’s natives with V8‑specific percent macros. Builds use git/hg and platform build tools, boots by serializing a snapshot of the heap (boot-time heap snapshot), and examples largely run — SpiderMonkey demo succeeds, V8 example needs prototype wiring.
AI-written summary · about








