Ask HN: What are the use cases of WASM outside the browser?
1–10 of 27 posts
What are the non obvious use cases of Wasm? Other than facilitate distribution and improve security, what do you think are the best potencial applications of wasm?
Re: Ask HN: What are the use cases of WASM outside the browser?
#2Maybe a runtime for application plugins?
You expose some apis in the wasm runtime and plug-in developers only have to target the wasm runtime.
Re: Ask HN: What are the use cases of WASM outside the browser?
#3Ideally I'd like to be able to write desktop apps with the syntax of C but the performance of electron
Re: Ask HN: What are the use cases of WASM outside the browser?
#4Coupled with WebGPU it might become the cleanest cross-platform/language abstraction to GPU programming.
Re: Ask HN: What are the use cases of WASM outside the browser?
#5[deleted]
Re: Ask HN: What are the use cases of WASM outside the browser?
#6CosmWasm provides a smart contract execution layer for Cosmos application blockchains.
Re: Ask HN: What are the use cases of WASM outside the browser?
#7Ideally I'd like to be able to write desktop apps with the syntax of C but the performance of electron
Thanks for the chuckle :) Reminds me of the old adage about how Washington DC combines Southern efficiency with Northern charm.
Re: Ask HN: What are the use cases of WASM outside the browser?
#8An OS built on top of WASM can provide modern features without the bloat of current CPUs, e.g. MMUs.
Re: Ask HN: What are the use cases of WASM outside the browser?
#9An OS built on top of WASM can provide modern features without the bloat of current CPUs, e.g. MMUs.
finally bringing the prophesy foretold in The Birth & Death Of JavaScript to fruition, nice
Re: Ask HN: What are the use cases of WASM outside the browser?
#10It's the rebirth of Java without the drawback of necessarily needing a runtime; write once in whatever (supported) language and run everywhere, if other platforms like OSes embrace the standard. The closest thing I've found is Flutter but that's only in Dart.
Another use case, imagine a single program mixing and matching many different languages because they all compile up WASM as a universal format. This already happens in the frontend web with so called microfrontends which basically let you write various components in React, Vue, Angular etc and it all compiles down to JS.