Syntax - Tasty Web Development Treats

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.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

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.
ANECDOTE

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.
ADVICE

Rust Variables

  • Use let for immutable variables and let mut for mutable ones in Rust.
  • const in Rust, like JavaScript's, requires compile-time definition.
Get the Snipd Podcast app to discover more snips from this episode
Get the app