3 ms·
> My big hangup is understanding a low level use case for it. Two real world use cases for WebAssembly are image decoding and audio decoding. WebP image decod
by clouddrover 9y ago
> My big hangup is understanding a low level use case for it.
Two real world use cases for WebAssembly are image decoding and audio decoding.
WebP image decoding: https://webmproject.github.io/libwebp-demo/webp_wasm/index.html https://webmproject.github.io/libwebp-demo/webp_wasm/index.h...
Opus audio decoding: https://www.scirra.com/blog/211/opus-audio-in-construct-3 https://www.scirra.com/blog/211/opus-audio-in-construct-3
- sp332 9y agoEmulating entire computers: http://blog.archive.org/2018/02/13/emulation-in-the-browser-adds-webassembly/ http://blog.archive.org/2018/02/13/emulation-in-the-browser-... This is powerful because it makes the emulator itself platform-independent. Any wasm-capable browser can now emulate a ton of other platforms.
- imtringued 9y agoAlternatively you could compile proprietary desktop applications to webasm and use nodejs as a standalone VM.
- mrashes 9y agoI hadn't thought about using it for decoding images, clever! I'd been dreaming of translating my favorite python package over to the web to use without having to spin up django, but from what I'm hearing that isn't really the purpose.