Rust for the impatient
1.1M views · Jun 30, 2022 · Education
Comments · 1.2K
@NoBoilerplate · 4 years ago (edited) · pinned
:_ferrisWhat:ERRATA<br>👉Get Rust training from Let’s Get Rusty: <a href="https://letsgetrusty.com/begin-with-tris">https://letsgetrusty.com/begin-with-tris</a><br>- The borrow checker is explained in my previous video "Rust makes you feel like a genius" (many people missed it)<br>- Void functions actual return an empty tuple `()` which is pronounced "unit".<br>- Reading a variable before it is initialised in C doesn't crash, it's undefined behaviour WHICH IS WORSE OMG<br>- (1..) to my great disappointment isn't infinite, it's bound by the iterators internal i32, which is up to std::i32::MAX (2,147,483,647)<br>- Missing semicolon on line 5!<br>- i32 is difficult to liken to C's long, it's architecture-dependent.<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&t=311">5:11</a> though this compiles, it should be `fn is_positive(&self)` to avoid the method taking ownership of the self <a href="https://doc.rust-lang.org/book/ch05-03-method-syntax.html">https://doc.rust-lang.org/book/ch05-03-method-syntax.html</a><br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&t=155">2:35</a> - `assert!` should be `assert_eq!`<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&t=571">9:31</a> `flat_map` or `map` both work in this example<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&t=433">7:13</a> Error says `OErr` where it should be `Err`
736
@jamesprakashjc · 1 year ago (edited)
"it panics when it unwraps and finds nothing"<br>Me too, little code, me too
244
@hooman1439 · 6 months ago
> Rust for the impatient<br>> Does an intro
286
@wege8409 · 2 years ago
Did I just join a cult
212
@ayior · 3 years ago
I'm only here to get a gist of what Rust is about, but I gotta say, "it panics when it unwraps and finds an error" is a wonderfully vivid image
529
@Consul99 · 3 years ago
I usually run videos on 1.5x speed. This was a mistake.
67
@MatheusLB2009 · 2 weeks ago
That thin blue line below the video scared me shitless i thought my TV was broken
3
@owo2528 · 3 years ago
Set the playback speed to 2x and it'd be 5 minutes instead of 10
65
@Agent_008 · 1 year ago
I just had a brain overflow
31
@DavebotBeepBoop · 4 years ago
This was incredibly helpful is what has helped me the most so far. I'm 'fluent' in several languages so I have a solid understanding of what to expect from languages. So many videos start from the ground up, and spend 10+ minutes explaining just a single concept or two. Skipping through video after video (or article after article) just to learn the basics is exhausting. That's why I appreciate this video so much. It's not to intended to be fully comprehensive but to provide people (like myself) a bridge between their existing knowledge and how to use Rust. I came away from this video feeling like I could write a nice simple 'hello world' type of application without having to look up 'how to write a function in rust'.<br><br>Dense videos like these take a lot of time and energy to create, so just wanted to say a huge 'thank you' and share how much it's helped me. The resources that you've linked are just as helpful. Thank you!
434
@hyasynthesized · 4 years ago (edited)
Reading from undefined memory doesn't always crash at runtime. It's Undefined Behavior. Most commonly it either crashes or gives garbage data, but its allowed to do literally anything, including make demons fly out of your nose
1.7K
@lethargy_coffee · 2 years ago
You explained (atleast to an experienced programmer) everything necessary about Rust in 10 minutes, that's something that others do for 2 hours!
133
Up next

Rust Course 2026 – Complete Rust Programming for Beginners
Codynn · 75K views

impl Rust: One Billion Row Challenge
Jon Gjengset · 153K views

Async Rust explained in 20 minutes
Let's Get Rusty · 103K views

Rust Functions Are Weird (But Be Glad)
Logan Smith · 229K views

Programming Legends Are at War Over AI
MeshPit · 462K views

Why Everyone's Switching to Rust (And Why You Shouldn't)
ForrestKnight · 629K views

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025
Better Software Conference · 942K views

The Paradox of Why AI Code Is Failing Us - 3 Pillars
Kantan Coding · 614K views

Interview With Sr Rust Developer | Prime Reacts
The PrimeTime · 1M views

I Tried Ryoku Linux For The First Time, It Was INSANE
rootsh · 211K views

Stop writing Rust
No Boilerplate · 309K views

rust is causing a lot of problems...
Low Level · 425K views

How to Learn Rust
No Boilerplate · 732K views

Why Rust Can't Replace C++
ForrestKnight · 528K views

Rust’s most complicated features explained
Let's Get Rusty · 130K views

AI Destroyed My Profession
Bag of Milk · 572K views

Riemann Hypothesis Proven? The Quantum Secret of the Primes
Mr. Physik · 26K views

Why Devs Love DLLs (And You Should Too)
KeatDev · 556K views

I Will Not Write Rust Again
The PrimeTime · 481K views

Even AI Hasn't Beaten This Man at Programming
Turing and Turing Now - Science & Tech News · 998K views