Skip to content
Rust Search
← RustLab 2024

How to integrate Javascript in your Rust program

RustLab Conference
RustLab 22:45 273 views

There are many reasons you may want to roll your own JavaScript runtime — building an interactive web app with a Rust backend, extending your platform with a composable plugin system, and more. Here's an introduction to building your own JavaScript runtime with Rust, where I'll also give ideas for directions in which you can take yours. LEVEL: Intermediate

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Leo Kettmeir

From any to this: using concrete error types instead of a catchall

EuroRust
22:16 1681 views

Ever since the Deno project has been written in Rust, it has used anyhow for error handling across the entire codebase. This has proven to be problematic in various ways, and ergonomically difficult to handle complex errors coming from all over the place. As such, a refactoring project spanning 14 repositories, over 50 crates and multiple months was initiated for which the goal was to remove the “viral” anyhow crate in favour of using thiserror and concrete error types. The ways we achieved this, the challenges encountered and the reasons behind this all will be explored.