2 ms·
I've yet to see a single example of WASM in the wild. How is it supposed to "replace" anything, if nobody is using it?
by ein0p 2y ago
I've yet to see a single example of WASM in the wild. How is it supposed to "replace" anything, if nobody is using it?
- mdaniel 2y ago1Password actually bundles it with everything they ship (browser, desktop, even their golang cli): https://github.com/1Password/onepassword-sdk-go/tree/v0.1.7/internal/wasm https://github.com/1Password/onepassword-sdk-go/tree/v0.1.7/... and then use extism to cross over its boundary https://github.com/1Password/onepassword-sdk-go/blob/v0.1.7/internal/shared_core.go#L132 https://github.com/1Password/onepassword-sdk-go/blob/v0.1.7/... They compiled their rust libraries to wasm and it allows reuse of those rust bits across everything The other famous example I know of, but haven't used, is Figma https://www.figma.com/blog/webassembly-cut-figmas-load-time-by-3x/ https://www.figma.com/blog/webassembly-cut-figmas-load-time-...
- zfg 2y agoYou've likely had WebAssembly running in your browser but didn't even realize it. Firefox also lets add-ons run WebAssembly modules which is something that uBlock Origin has made use of for a long time: https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...