3 ms·
I honestly thought some version of WASM would be popular, performant, and easy to use by now, and not reliant on js/html/css. Like desktop app development in a
by ChicagoDave 3y ago
I honestly thought some version of WASM would be popular, performant, and easy to use by now, and not reliant on js/html/css.
Like desktop app development in a browser or an actual good version of Silverlight.
- pjmlp 3y agoIt is impossible currently, as WASM only allows for compute, everything else relies on the host, and exported functions to be called by the WASM code. There are some plans to support DOM directly from WASM, but at the pace Webassembly features get into the browsers, it is years away if it ever gets done.
- mdhb 3y agoProbably worth keeping in mind where WASM itself actually is. The ability to run anything without having to do your own memory management is only just landing now (already in Chrome, next release of Firefox announced today and Safari as per usual is nowhere to be seen and is behind the curve again). So when you think about what that very first generation of frameworks is going to even look like, it’s safe to say that most of them don’t yet exist. The only one I know of is Flutter which is going all in on a path that’s genuinely independent of HTML and CSS and going straight to canvas and WebGPU via WASM. But even that is still a few months away. Blazor takes an interesting approach in that it’s basically one foot in both camps in that it sticks to HTML/CSS and uses DOM rendering to handle the UI while still letting developers stick the overwhelming majority of their application logic in C#.