Skip to content

WebAssembly

kimschles edited this page Jan 17, 2019 · 1 revision

Web Assembly

  • abbreviation: wasm
  • a way to run code written a lot of different langauges
  • goal: high speed web applications

Rust

Steps (?)

  1. You write code in C, C++ or Rust
  2. You compile that code into WebAssembly (a file written in binary and called .wasm)
  3. You include the .wasm file in your project
  4. You write JS code that complies the binary and turns it into cool JS stuff

A good article: https://medium.freecodecamp.org/get-started-with-webassembly-using-only-14-lines-of-javascript-b37b6aaca1e4

I need more time with Web Assembly to be able to explain how it works.

Clone this wiki locally