Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Embedding WebAssembly for Scripting in Rust Applications

Rust via YouTube

Overview

Explore WebAssembly integration in Rust applications through this 25-minute conference talk. Discover how WebAssembly serves as a compact and portable runtime environment for dynamic scripting, offering an alternative to traditional scripting languages like Lua or JavaScript. Learn about the benefits and challenges of incorporating WebAssembly into Rust projects, including performance improvements and memory safety considerations. Follow along as small routines are implemented in C++ and Rust, then compiled to WebAssembly. Gain insights into loading WebAssembly code as plugins at runtime for executing dynamic tasks. Delve into topics such as WebAssembly technology overview, execution environments, Rust implementation details, and potential drawbacks. Watch a live demonstration and understand the requirements for declaring functions in this context. Presented by Frank Rehberger, an experienced software consultant specializing in backend development, messaging, security, and embedded systems.

Syllabus

Intro
Rust
Customizable features
WebAssembly overview
WebAssembly execution environment
Rust implementation
Rust drawback
Rust binary code
Implementation prototype
Implementation code
Demonstration
Requirement
Declaring functions

Taught by

Rust

Reviews

Start your review of Embedding WebAssembly for Scripting in Rust Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.