WebAssembly for Javascript Developers, by Aaron Turner

By: WebAssembly SF

43   0   1066

Uploaded on 04/07/2019

Original event: https://www.meetup.com/wasmsf/events/258613527/
Slides: https://docs.google.com/presentation/d/1gFS7lWfBcqkIApLOQctbbIDi8uuqenO_fz9BqjPZHlE/edit?usp=sharing

This talk covers the learnings and experiences of developing WasmBoy (https://wasmboy.app/). A Game Boy Emulation Library for running Game Boy ROMs in both NodeJS and browsers, written in AssemblyScript.

Comments (1):

By DonHopkins    2019-06-05

Anybody used or have opinions about AssemblyScript?


>AssemblyScript compiles strictly typed TypeScript (basically JavaScript with types) to WebAssembly using Binaryen. It generates lean and mean WebAssembly modules while being just an npm install away.


Here's a great example of a project that uses it:


>️Gameboy Emulator Library written in Web Assembly using AssemblyScript, Debugger/Shell in Preact ️

Here's an excellent talk about wasmboy by the author, Aaron Turner -- he's done some really outstanding work:


Since you can compile AssemblyScript into JavaScript with the TypeScript compiler as well as into WebAssembly, you can compare the speed of JavaScript -vs- WebAssembly on the same source code. Aaron did some interesting benchmarks using wasmboy, in the great tradition of using GameBoy emulators to benchmark JavaScript engines:


Original Thread