Tris Oaten explains how Rust's compiler and type system help developers write reliable, predictable, and correct code.
(this is a re-upload of my original version)
A 6-minute lightning talk explaining how you can write perfect code with rust.
If you would like to support what I do, I have set up a patreon here: patreon.com/noboilerplate Thank you!
Start your Rust journey here: doc.rust-lang.org/stable/book/
Transcripts for all videos here: github.com/0atman/noboilerplate
This is a re-upload of my first Rust video (original here youtu.be/IA4q0lzmyfM), now with a font that you can read on mobile, and some minor fixes. There are still some remaining problems that I didn't want to put time into fixing (I'd rather make new videos). As ever, all corrections are in the pinned ERRATA comment.
CREDITS & PROMO
My name is Tris Oaten and I produce fast, technical videos.
Follow me here twitter.com/0atman
If you like sci-fi, I also produce a hopepunk podcast narrated by a little satellite, videos written in Rust! lostterminal.com
If urban fantasy is more your thing, I also produce a podcast of modern folktales modemprometheus.com
Why it's here
2 people recommend this
What people say. Recommended as an inspiring introduction to why Rust's safety guarantees and compiler make it a joy to use.
Moments people linked to
j
u/je12emyin r/rust • Recommends
On “I am seriously debating whether to use rust for web application please convince me”
This always inspires me.
link to this video
Also these:
https://mainmatter.com/blog/2023/08/14/the-case-for-rust-on-the-web/
link to this video
Rust doesn't just guarantee that your memory is safe. more generally, it guarantees that your code *doesn't do unpredictable stuff.*
half the time i run my code and if it compiles it just works. the other half of the time there's a logical error and i have to tinker around a couple times to fix it.
its type system is really quite powerful. what you lose in *expressiveness* (i've been told c++ generics are more powerful) you gain *guarantees.*
now i'll be linking to a known rust cult member but he has an example of the guarantees that it provides. you can watch the rest of the video if you want to know more. he gets most things right, but speaks in a very preachy way.
you should be able…