YoVDO

Using WebAssembly with Rust

Offered By: egghead.io

Tags

Rust Courses Javascript Courses Node.Js Courses WebAssembly Courses Webpack Courses npm Courses Memory Management Courses

Course Description

Overview

Many languages work on a compilation story to WebAssembly, but Rust is already ready for primetime. Why?
Rust is a stable language and great replacement for C and C++.
Due to the reference and borrowing concept, Rust doesn’t need a Garbage Collector and can be used for a production-ready WebAssembly project.
The Rust/Wasm team has built some sophisticated tooling for straightforward interoperability between Rust and JavaScript.
This course gives you the tools to compile to WebAssembly with Rust. Over 11 lessons, we’ll set up a project and explore various paths of communication and interoperability between Rust and JavaScript.

Syllabus

  • Course Overview: Using WebAssembly with Rust
  • Setup Rust for WebAssembly
  • Load a WebAssembly Function Written in Rust and Invoke it from JavaScript
  • Pass a JavaScript Function to WebAssembly and Invoke it from Rust
  • Set up wasm-bindgen for easy Rust/JavaScript Interoperability
  • Create a New Rust/Webpack Project using the rust-webpack Template
  • Debug a WebAssembly Module Written in Rust using console.log
  • Access WebAssembly Memory Directly from JavaScript
  • Use the js-sys Crate to Invoke Global APIs Available in Any JavaScript Environment
  • Create and Publish a NPM Package Containing Rust Generated WebAssembly using wasm-pack
  • Run WebAssembly in Node.js using the node-loader

Taught by

Nik Graf

Related Courses

Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera
Using Open Source Web Tooling to Improve Development Proficiency
Microsoft via edX
Front-End Web UI Frameworks and Tools: Bootstrap 4
The Hong Kong University of Science and Technology via Coursera
Diseñando páginas web con Bootstrap 4
Universidad Austral via Coursera
React 101 - basics complete & latest. Forms, routing, async
Udemy