Go offline with the Player FM app!
SE Radio 644: Tim McNamara on Error Handling in Rust
Manage episode 452270464 series 215
Tim McNamara, a well-known Rust educator, author of Rust in Action (Manning), and a recipient of a Rust Foundation Fellowship in 2023, speaks with SE Radio host Gavin Henry about error handling in Rust. They discuss the errors that Rust prevents, what an error is in Rust, what Tim classes as the "four levels of error handling," and the lifecycle of your journey reaching for them.
McNamara explains why Rust handles errors as it does, how it differs from other languages, and what the developer experience is like in dealing with Rust errors. He advocates best practices for error handling, what Result is, the power of Rust Enums, what the question mark operator is, when to unwrap, what Box really means, how to deal with errors across the FFI boundary, and the various Rust error-handling crates that you can use to give you more control.
Brought to you by IEEE Computer Society and IEEE Software magazine.
1023 episodes
SE Radio 644: Tim McNamara on Error Handling in Rust
Software Engineering Radio - the podcast for professional software developers
Manage episode 452270464 series 215
Tim McNamara, a well-known Rust educator, author of Rust in Action (Manning), and a recipient of a Rust Foundation Fellowship in 2023, speaks with SE Radio host Gavin Henry about error handling in Rust. They discuss the errors that Rust prevents, what an error is in Rust, what Tim classes as the "four levels of error handling," and the lifecycle of your journey reaching for them.
McNamara explains why Rust handles errors as it does, how it differs from other languages, and what the developer experience is like in dealing with Rust errors. He advocates best practices for error handling, what Result is, the power of Rust Enums, what the question mark operator is, when to unwrap, what Box really means, how to deal with errors across the FFI boundary, and the various Rust error-handling crates that you can use to give you more control.
Brought to you by IEEE Computer Society and IEEE Software magazine.
1023 episodes
All episodes
×

1 SE Radio 666: Eran Yahav on the Tabnine AI Coding Assistant 1:02:05


1 SE Radio 665: Malcolm Matalka on Developing in OCaml with Zero Frameworks 56:10


1 SE Radio 664: Emre Baran and Alex Olivier on Stateless Decoupled Authorization Frameworks 51:54


1 SE Radio 663: Tyler Flint on Managing External APIs 52:27


1 SE Radio 662: Vlad Khononov on Balancing Coupling in Software Design 56:19


1 SE Radio 661: Sunil Mallya on Small Language Models 59:28




1 SE Radio 659: Brenden Matthews on Idiomatic Rust 53:54


1 SE Radio 658: Tanya Janca on Secure Coding 1:11:40


1 SE Radio 657: Hong Minhee on ActivityPub and the Fediverse 40:09


1 SE Radio 656: Ivett Ördög on Rewrite versus Refactor 49:43


1 SE Radio 655: Charles Humble on Professional Skills for Software Engineers 55:20


1 SE Radio 654: Chris Patterson on MassTransit and Event-Driven Systems 1:09:06


1 SE Radio 653: Asanka Abeysinghe on Cell-Based Architecture 1:00:06


Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.