Course Overview: Using WebAssembly with Rust

Nik Graf
InstructorNik Graf
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 5 years ago

The goal of this course is to explain how to setup a project using JavaScript and WebAssembly with Rust.

We start out with building our first WebAssembly module and loading it. Then we gradually build up until to a point where we use wasm-bindgen to invoke functions and pass data between JavaScript and Rust without a hassel.

Further we explore various tools like wasm-pack to build our Rust code with ease and use them in combination with Node or Webpack.

Instructor: [00:01] WebAssembly defines a binary format and a corresponding Assembly-like text format for executable code that can run in web pages, and that with a near-native performance. It is also designed to run alongside Javascript, allowing both to work together.

[00:18] WebAssembly's major goal is to allow developers improving the performance of certain parts of their application to, in the end, improve the user experience. The best part, WebAssembly is a standard, and supported by all major browsers.

[00:35] While many languages still work out a compilation story to WebAssembly, Rust is ready for prime time. Rust is a relatively new language, and a great replacement for C and C++. In addition to that, the Rust WebAssembly team is working already on sophisticated tools, like wasm-bindgen, to make the interoperability seamless.

[01:00] In this course, we start from the beginning, demonstrate how to load a module, and then gradually build up until to a point where we use wasm-bindgen to invoke functions and pass data between Javascript and Rust without a hassle.

[01:16] Further, we explore various tools, like wasm-pack, for example, to build our Rust code with ease, and use them in combination with Node or webpack. I hope you enjoy this course, and I would appreciate your feedback.

~ 7 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today