What will we cover?

  • What is WebAssembly / WASM?
  • History of wasm
  • Browser support for WASM
  • Why care?
  • How to get started
  • Future of wasm 🔮 🔮 🔮
  • Demos of games/golang

What is WebAssembly / WASM?

What is WebAssembly / WASM?

WebAssembly: The Big Picture  Barry Luijbregts 

What is WebAssembly / WASM?

WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine.

 

Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.

 

History OF WASM

Inspired by asm.js

BROWSER SUPPORT FOR WASM

WHY CARE

  • It's a binary format smaller to deliver than JS
  • It opens up use-cases that were difficult to achieve with JS like: video games, video editing, 3D rendering, or music production
  • It's lower-level language so the runtime has less work to do
  • Compile target from many other languages C#, C++, JAVA, GOLANG, ELM, RUST 
  • Native browser support

 

 

 

You can compile other languages to it 

Write the textual version of WASM yourself .wat

HOW TO GET STARTED

Import wasm modules from JS and use them**

Elm, C++ emscripten, Blazen .NET, Turboscript 

Future of wasm 🔮 🔮 🔮

DEMO

REsources

WASM

By Gabriel Cziprusz

WASM

  • 281