Comment

Comment by paulrouget

That's something I was thinking a lot about back when I was working on Servo. Wasm + a protocol to talk to WebRender (expose display lists [0] to the wasm runtime). Some sort of "mini web", a minimal runtime that would do just enough that most web APIs could be re-implemented and shipped from the webpage directly. The DOM, the CSS parser, the layout engine, … could just be shipped as wasm modules.

Kind of defeat the purpose of view-source, but nowadays, it's a lost battle already.

And I didn't think too much about sandboxing, accessibility, network or whatnot. Just a fun idea…

[0]: https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334...

parent paulrouget 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton