Skip to main content

Rust

Rust is one of the best languages to use to compile to WASM. With full support for WASM & WASI easy to use, just by specifying a compiler flag. Much of the "crates" ecosystem can be compiled for WASM.

fn main()
{
println!("Hello World!");
}

Advantages

  • Very fast execution.
  • Easy to compile to WebAssembly.
  • Excellent development tools.
  • Large package ecosystem, compatible with WASM.

Drawbacks

  • Slow compile time.
  • Complex syntax.

Resources