Tuesday, September 13, 2016

WebAssembly (wasm, asm.js next gen)

JavaScript is Web Assembly Language and that's OK. - Scott Hanselman




What is WebAssembly? The Dawn of a New Era – JavaScript Scene – Medium
"The web platform is getting a new low-level binary compile format that will do a better job at being a compiler target than JavaScript."
"WebAssembly is:

  • An improvement to JavaScript: Implement your performance critical stuff in wasm and import it like a standard JavaScript module.
  • A new language: WebAssembly code defines an AST (Abstract Syntax Tree) represented in a binary format. You can author and debug in a text format so it’s readable.
  • A browser improvement: Browsers will understand the binary format, which means we’ll be able to compile binary bundles that compress smaller than the text JavaScript we use today. Smaller payloads mean faster delivery. Depending on compile-time optimization opportunities, WebAssembly bundles may run faster than JavaScript, too!
  • A Compile Target: A way for other languages to get first-class binary support across the entire web platform stack."
WebAssembly - Wikipedia, the free encyclopedia

WebAssembly: A New Compilation Target for the Web @ InfoQ

WebAssembly Preview Functionality Arrives in Browsers @ InfoQ

WebAssembly @ GitHub

Supercharging JavaScript performance with asm.js | Microsoft Edge Dev Blog
chess

No comments: