WASM now in all major browsers

Since around February 2018, I noticed that all the major browsers have WASM support

caniuse.com/#search=wasm

What use-cases can you immediately think of that might benefit from WASM support?

Comments (4)

Kleo Petrov's photo

Few things comes to my mind:

  • 3D and 2D WebGL games.
  • Game UIs and other heavy assets.
  • Peer-to-peer applications.
  • Image recognition.
  • Video and Image Manipulation.
  • VR and Augmented Reality
  • Literary every computation heavy code - physics engines, 3D engines, game engines, visualizations, etc.

I have big hopes for WebAssembly. It's power comes from being platform and language independent format, that can run in every browser. The end-goal of WebAssembly is to provide safe and optimized way of running code in native-like speed.

WebAssembly promise to improve load times and overall performance by executing parsed and compiled ahead of time binary code. Soon, WebAssembly will support DOM manipulation and multiple Web APIs by providing Platform APIs, with which different languages will communicate with the browser, which will make WebAssembly even more useful.

Show +1 replies
Jan Vladimir Mostert's photo

Or another way to infect windows computers with dodgy viruses / malware / worms

Kleo Petrov's photo

That won't be possible. WebAssembly code is executed within a sandbox environment, that is separated from the host runtime. So, the executed code can't escape the sandbox.

Also, each WASM module apply security policies for web and non-web envirnments. For web, that is the Same-Origin Policy and for non-web it's the POSIX security model.