

Rust for JS Devs — Part 2
Aug 23, 2023
Delve into the intricacies of Rust with insights on variables, including mutable vs immutable types. Explore the unique type system, addressing signed and unsigned integers. Discover how to slice strings in Rust and understand the powerful structures like enums and structs with real-world examples. Learn about effective debugging tools and tips for JavaScript developers transitioning to Rust, along with some fascinating personal stories and life hacks shared by the hosts.
AI Snips
Chapters
Transcript
Episode notes
Chromium Audio Bug
- Scott Talinsky experienced audio input issues specific to Chromium browsers.
- His audio interface inputs stopped appearing, affecting only Chromium while working fine in Firefox and Safari.
Deck Building
- Wes Bos is building a deck at his cottage, a new carpentry experience for him.
- This prompted him to observe other decks, realizing many are simply slapped together.
Rust Variables
- Use
let
for immutable variables andlet mut
for mutable ones in Rust. const
in Rust, like JavaScript's, requires compile-time definition.