Production-ready WebAssembly with Rust

Is WebAssembly right for you? Join our workshop and learn how to integrate high-performance Rust codebases into JavaScript runtimes, cut down platform-dependent distribution costs, and handle errors. You will also learn limitations, alternatives, and escape hatches.
Become a WebAssembly wizard!

Workshop #3
180 min
November 19th, 2023


This workshop will teach how to port Rust libraries in JavaScript runtimes with WebAssembly (WASM), without performance penalties and with a single compilation step for any system. No previous experience with WebAssembly is needed.

You will learn how to smoothly integrate WASM into your Node.js application, while also automatically generating idiomatic TypeScript definitions. And while WASM looks like a clear winner thanks to its portability, it's not a silver bullet. That's why we will experience and solve typical WASM data serialization issues, addressing limitations and escape hatches. Essential topics, such as the differences between errors or panics in WASM vs plain Rust, are also included. Scared that the generated WASM artifact will be too large/slow? We've got you covered.
Finally, we will present some lesser-known tricks to let WebAssembly interact with the outside world without resorting to WASI.

Together, we will incrementally build a JS-compatible Rust library with WebAssembly, and demo it live. After this workshop, you will be able to build on top of your Rust knowledge to create efficient and reliable libraries to power the next generation of web development.

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #RustLab2023 to share your experience and connect with other attendees on social media.

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2023 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS