Ads skipped

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 &quot;Rust makes you feel like a genius&quot; (many people missed it)<br>- Void functions actual return an empty tuple `()` which is pronounced &quot;unit&quot;.<br>- Reading a variable before it is initialised in C doesn&apos;t crash, it&apos;s undefined behaviour WHICH IS WORSE OMG<br>- (1..) to my great disappointment isn&apos;t infinite, it&apos;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&apos;s long, it&apos;s architecture-dependent.<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&amp;t=311">5:11</a> though this compiles, it should be `fn is_positive(&amp;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&amp;t=155">2:35</a> - `assert!` should be `assert_eq!`<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&amp;t=571">9:31</a> &nbsp;`flat_map` or `map` both work in this example<br>- <a href="https://www.youtube.com/watch?v=br3GIIQeefY&amp;t=433">7:13</a> Error says `OErr` where it should be `Err`

    736

  • @jamesprakashjc · 1 year ago (edited)

    &quot;it panics when it unwraps and finds nothing&quot;<br>Me too, little code, me too

    244

  • @hooman1439 · 6 months ago

    &gt; Rust for the impatient<br>&gt; Does an intro

    286

  • @wege8409 · 2 years ago

    Did I just join a cult

    212

  • @ayior · 3 years ago

    I&apos;m only here to get a gist of what Rust is about, but I gotta say, &quot;it panics when it unwraps and finds an error&quot; 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&apos;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&apos;m &apos;fluent&apos; 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&apos;s why I appreciate this video so much. It&apos;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 &apos;hello world&apos; type of application without having to look up &apos;how to write a function in rust&apos;.<br><br>Dense videos like these take a lot of time and energy to create, so just wanted to say a huge &apos;thank you&apos; and share how much it&apos;s helped me. The resources that you&apos;ve linked are just as helpful. Thank you!

    434

  • @hyasynthesized · 4 years ago (edited)

    Reading from undefined memory doesn&apos;t always crash at runtime. It&apos;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&apos;s something that others do for 2 hours!

    133

Up next

LIVE

Rust Course 2026 – Complete Rust Programming for Beginners

Codynn · 75K views

LIVE

impl Rust: One Billion Row Challenge

Jon Gjengset · 153K views

LIVE

Async Rust explained in 20 minutes

Let's Get Rusty · 103K views

LIVE

Rust Functions Are Weird (But Be Glad)

Logan Smith · 229K views

LIVE

Programming Legends Are at War Over AI

MeshPit · 462K views

LIVE

Why Everyone's Switching to Rust (And Why You Shouldn't)

ForrestKnight · 629K views

LIVE

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Better Software Conference · 942K views

LIVE

The Paradox of Why AI Code Is Failing Us - 3 Pillars

Kantan Coding · 614K views

LIVE

Interview With Sr Rust Developer | Prime Reacts

The PrimeTime · 1M views

LIVE

I Tried Ryoku Linux For The First Time, It Was INSANE

rootsh · 211K views

LIVE

Stop writing Rust

No Boilerplate · 309K views

LIVE

rust is causing a lot of problems...

Low Level · 425K views

LIVE

How to Learn Rust

No Boilerplate · 732K views

LIVE

Why Rust Can't Replace C++

ForrestKnight · 528K views

LIVE

Rust’s most complicated features explained

Let's Get Rusty · 130K views

LIVE

AI Destroyed My Profession

Bag of Milk · 572K views

LIVE

Riemann Hypothesis Proven? The Quantum Secret of the Primes

Mr. Physik · 26K views

LIVE

Why Devs Love DLLs (And You Should Too)

KeatDev · 556K views

LIVE

I Will Not Write Rust Again

The PrimeTime · 481K views

LIVE

Even AI Hasn't Beaten This Man at Programming

Turing and Turing Now - Science & Tech News · 998K views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.