3 ms·
So if I get things right : - ASM.js : basically assembly with a subset of javascript syntax - WebAssembly : assembly with a different format which doesn't req
by camus2 9y ago
So if I get things right :
- ASM.js : basically assembly with a subset of javascript syntax
- WebAssembly : assembly with a different format which doesn't require parsing javascript.
- languages built on top of WebAssembly : C/C++ like languages with explicit memory management/ no garbage collection.
- assemblyscript : C with a typescript syntax ?
- ihsw2 9y agoPreviously: * asm.js, LLVM output, Rust MIR->intermediate representation->WASM Now: * asm.js, LLVM output, Rust MIR, AssemblyScript->intermediate representation->WASM Presumably, the goal of AssemblyScript is to make WASM more accessible, as producing asm.js, LLVM output, and Rust MIR is out of reach for most people.
- orange8 9y ago- ASM.js: A faster, cut down version of JavaScript - WebAssembly: The successor to ASM.js, a compiled binary format (as opposed to plain text) with additional features - languages built on top of WebAssembly: More like languages that can be compiled to the WebAssembly binary format. currently C/C++ - assemblyscript: A subset of a languange (TypeScript) that compiles to JavaScript, but which compiles to WebAssembly instead.
- pjmlp 9y agoThere are already JVM and .NET prototypes. Rust also supports WebAssembly.
- pjmlp 9y agoYou can have GC languages already today on WebAssembly, the runtime will just be bigger. After all it is no different than targeting a real processor, I never get the point why people think it is a stumbling block.