youtube image
From YouTube: RustCon Asia 2019 - Ilya Baryshnikov: Improving web app with Rust and WASM

Description

WebAssembly is a new standard which can be used to speed up heavy computations in the browser. But what is a “heavy computation”? How it may affect your users and your business? I will show several examples of heavy computations in React + three.js app. We will compare performance of JS and Rust. Then I will share our story of introducing Rust and WebAssembly to the app. How to write the code, how to build and publish npm module, and how to finally load it with webpack. We will discuss how wasm-bindgen library can help you to communicate with the JS world and reduce the boilerplate. In the end we’ll talk about quality control tools and tests.

Find slides here: https://github.com/ibaryshnikov/beijing-talk-2019

Follow us on Twitter: https://twitter.com/RustConAsia