7 Hidden Truths About WebAssembly: The Next Evolution of Web Development
Browsing the Internet remains very popular, but as mobile usage has increased users are increasingly turning to apps. There can be several reasons for this:
- Native app stores ease discoverability
- Users like icons on their mobile devices
- Performance may also be a reason
WebAssembly Can Help Address Performance Issues
Another way to look at this is from the perspective of the compilation sequence, which normally goes from source to bytecode then to machine code. The goal of WebAssembly (short: wasm) is to produce efficient machine code (and thus skip that first compilation).
More than this, since this is a low-level it provides greater flexibility, and includes simple primitives with no complicated object system. Additionally from a performance perspective, it will allow the use of Single Instruction, Multiple Data (SIMD), which enables a single instruction to operate on several pieces of data next to each other (e.g. parallel processing).
7 Questions that Demystify WebAssembly
2. What about security?
3. If this will mainly support games and graphics, what about WebGL?
4. When will browsers start supporting WebAssembly?
The great news is that Apple, Google, Microsoft, and Mozilla are all working together to support WebAssembly. There is no set date, but support has to go faster than the HTML5 standards.
5. How is this different than past efforts to increase performance like Flash, LLVM bitcode, or ASM.JS (note: some feel WebAssembly is the evolution of ASM.JS)?
As noted above, this has wider support and is more efficient. Interoperability is also a critical difference; it will be straightforward to import WebAssembly code. Compared to Flash, WebAssembly is better integrated into the web platform.
6. What coding skills are needed?
7. What about sample code?
It is too soon for sample code, but check back on our blogs in the future.
This is really exciting news for web development and the AT&T Developer Program will continue to share updates as they are available.