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

استخدام وإدارة المؤشرات في لغة البرمجة سي
Coursera Project Network via Coursera
Approfondimento sulla sicurezza dei container (Italiano) | Deep Dive on Container Security (Italian)
Amazon Web Services via AWS Skill Builder
Aspectos básicos de PostgreSQL: arquitectura (Español LATAM) | PostgreSQL Fundamentals: Architecture (LATAM Spanish)
Amazon Web Services via AWS Skill Builder
Computer Memory
Brilliant
Building Objects in C
University of Michigan via Coursera