What is WebAssembly?
The official website describe it as “WebAssembly or wasm is a new portable, size- and load-time efficient format suitable for compilation to the web.”
In simple terms, WebAssembly is new binary format for web. It is a compile target for other languages to run on web.
- Write performance critical code using other language like c/c++.
- It loads significantly faster in mobile devices.
- Sharing of code between applications.
What it means for web developers?
Web development is itself a challenging part where things are rapidly evolving and WebAssembly will be a new addition. With this we may see web used in lot of new application which is not possible in today’s scenario. WebAssembly will open more doors by freeing up from the shackles of today’s web. See a demo of angry bots demo ported to web using WebAssembly.
WebAssembly is still in its infancy. Only time could tell us how it will evolve. For some time being wasm and asm.js will stay equivalent to support
polyfilling of wasm via JS. After that wasm and JS may diverge. To bring new standard into the web will be as tough as exciting it sounds. But the upside is that we now have an open, vendor-neutral, cross-browser, experience based standard, commitment and involvement to major open source implementation on the
Some references to WebAssembly: