3 ms·
Wasm as replacement for css and HTML? Thats what are you asking about?
by high_na_euv 1y ago
Wasm as replacement for css and HTML? Thats what are you asking about?
- FerkiHN 1y agoNot quite — I'm not saying we should replace everything like HTML or CSS, but I'm exploring the idea of a browser that can load and run full sites or apps written entirely in WASM. Like how operating systems run .exe or ELF binaries — what if a browser did the same but with .wasm? Maybe not for regular documents, but for apps/games/tools where you want full control, performance, and custom UI rendering without relying on the traditional web stack. Just brainstorming, I’m curious what others think.
- mb2100 1y agomodern OSes also come with a windowing system and GUI apis. And even terminals have a stdin/stdout. You'd need some kind of interface to interact with the world.
- magicalhippo 1y agoDo you mean building the page via DOM manipulation using WASM? So the browser loads an empty page, and the WASM generates the page by calling createTextNode() and such?
- deleted 1y ago[deleted]
- mb2100 1y agoThis. WASM may be a replacement for JavaScript, but what about HTML, CSS and the DOM? If you want to know what WASM is actually a good fit for and what not, see https://queue.acm.org/detail.cfm?id=3746171 https://queue.acm.org/detail.cfm?id=3746171
- FerkiHN 1y agoThank you!