Chapter 7: Integrating Rust with WebAssembly

Rust is a system-level programming language. Being a system-level programming language, Rust provides low-level memory management and the ability to represent data efficiently. Thus, it provides complete control to programmers and better performance.

In addition to this, Rust also provides the following:

  • A friendly compiler – The Rust compiler is your companion when writing Rust. The compiler corrects you, guides you, and ensures that you write memory-safe code almost always.
  • The ownership model – The ownership model ensures that we do not need garbage collection. This guarantees thread and memory safety in Rust.
  • Safety, speed, and concurrency – Rust ensures safety and concurrency and makes you ...

Get Practical WebAssembly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.