3 ms·
What's the difference between asm.js and WebAssembly? "The initial implementation of WebAssembly support in browsers will be based on asm.js and PNaCl". PNaCl?
by castell 11y ago
What's the difference between asm.js and WebAssembly?
"The initial implementation of WebAssembly support in browsers will be based on asm.js and PNaCl". PNaCl? https://en.wikipedia.org/wiki/WebAssembly https://en.wikipedia.org/wiki/WebAssembly , https://en.wikipedia.org/wiki/Asm.js https://en.wikipedia.org/wiki/Asm.js
So is WebAssembly mere an asm.js v2 where all browser vendors agreed on a standard?
- lmm 11y agoNo, it's a (LLVM-based) bytecode representation. http://nativeclient.googlecode.com/svn/data/site/pnacl.pdf http://nativeclient.googlecode.com/svn/data/site/pnacl.pdf
- kevingadd 11y agoWebAssembly doesn't actually have anything to do with LLVM. There's a LLVM backend that can generate it, but that's no different from how emscripten acts as a LLVM -> asm.js pipeline.
- antome 11y agoMore specifically, asm.js can be seen as WebAssembly alpha, and will exist as a shiv until most browsers can run WebAssembly. Both WebAssembly and asm.js can be compiled through emscripten.
- deleted 11y ago[deleted]