Hacker News new | ask | show | jobs
by apatheticonion 974 days ago
> but WASM has none of the web APIs so you need to lean on JS to do UI or local storage, etc.

Yeah, haha I am eagerly waiting on these additions. I'm following the spec quite closely and would love it if one day an index.wasm could replace index.html as a web application entry point.

> I find WebAssembly a fairly odd duck though and highly disappointing.

100% agree. It was introduced about 8 years ago and we still can't use it to make a div appear (without heavy JS thunking). The consortium is discussing how to use web assembly in serverless functions and to replace docker - meanwhile in the web world, it's essentially a faster Web Worker.

But hey, I'm still hopeful