Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

A Simpler Way to See Results

Автор: Logan Smith

Загружено: 2023-07-27

Просмотров: 164304

Описание:

Result is Rust's error handling type that is often discussed in the same (or similar) breath as Option, but it feels... scarier. But in this video, I'll argue that that relationship with Option is a useful piece to focus on; they are isomorphic in certain circumstances, and even when they're not, you can think of them as coexisting on a continuum. Then we'll talk about the dreaded/beloved question mark, FromIterator/collect, and some Error stuff.

Special guest appearances from anyhow, thiserror, derive_more, and boxed Error trait objects; Haskell do-notation, applicative functors, and the first official time I've ever said 'monad' on this channel; and more.

Links I promised:
Study of std::io::Error - https://matklad.github.io/2020/10/15/...
thiserror - https://docs.rs/thiserror/latest/this...

Other stuff:
Result module docs - https://doc.rust-lang.org/std/result/
Result chapter in the book - https://doc.rust-lang.org/book/ch09-0...
! - https://doc.rust-lang.org/std/primiti...
Haskell do notation - https://en.wikibooks.org/wiki/Haskell...
Sum type - https://en.wikipedia.org/wiki/Tagged_...
Isomorphism - https://en.wikipedia.org/wiki/Isomorp...
Bottom type - https://en.wikipedia.org/wiki/Bottom_...

I use the amazing Manim library for animating these videos, and I edit them with Blender and Audacity.
https://www.manim.community/
https://www.blender.org/
https://www.audacityteam.org/

A Simpler Way to See Results

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Rust Functions Are Weird (But Be Glad)

Rust Functions Are Weird (But Be Glad)

Choose the Right Option

Choose the Right Option

Leet Code And Talk: I Suck at Coding Day 2

Leet Code And Talk: I Suck at Coding Day 2

Mastering Error Handling in Rust: From Panics to thiserror & anyhow | with Nathan Stocks

Mastering Error Handling in Rust: From Panics to thiserror & anyhow | with Nathan Stocks

Использовать дугу вместо вектора

Использовать дугу вместо вектора

Конструкторы сломаны

Конструкторы сломаны

Async Rust Is The Bane Of My Existence | Prime Reacts

Async Rust Is The Bane Of My Existence | Prime Reacts

Comprehending Proc Macros

Comprehending Proc Macros

5 Strong Opinions On Everyday Rust

5 Strong Opinions On Everyday Rust

Rust's Twin Strings: Understanding &str and String

Rust's Twin Strings: Understanding &str and String

Rust Error Handling - Best Practices

Rust Error Handling - Best Practices

Ходы сломаны

Ходы сломаны

Arc instead of Vec? | Prime Reacts

Arc instead of Vec? | Prime Reacts

Visualizing memory layout of Rust's data types

Visualizing memory layout of Rust's data types

Два способа динамической отправки

Два способа динамической отправки

but what is 'a lifetime?

but what is 'a lifetime?

Rust error handling made easier with the ?-operator

Rust error handling made easier with the ?-operator

Zig Language | Мысли спустя 2 года

Zig Language | Мысли спустя 2 года

4 levels of Rust error handling

4 levels of Rust error handling

The Dark Side of .reserve()

The Dark Side of .reserve()

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]