by ccooffee · 3y ago · 0 comments
Darn, guess I'll have to wait for stuff to land in Firefox.
How are others getting it working?!
From someone else's comment, this one works fine: https://websd.mlc.ai/#text-to-image-generation-demo
If you can't run it, here's how the output looks with default settings https://i.imgur.com/WCQc8hO.png
> You need latest Chrome with "Experimental WebAssembly" and "Experimental WebAssembly JavaScript Promise Integration (JSPI)" flags enabled!
Now I'm wondering whether the top message goes away once the flags are enabled?
https://github.com/WebAssembly/js-promise-integration/blob/m...
Implementing a new feature in WebAssembly is a bit more complex due to its execution model and security constraints. I expect it's also just the case that a lot of these new WASM features are very complex - promise integration is super nontrivial to get right, so are WebAssembly GC and SIMD.
Anything beyond those use cases it is really meh, specially given how clunky compiling and debugin WASM code tends to be.
Then we have all those startups trying to reivent bytecode executable formats in the server, as if it wasn't something that has been done every couple of years since late 1950's.