Rust Language 🦀 Crash Course for beginners

preview_player
Показать описание
Hi Coders 😎! The first time I've been introduced to Rust was on January 2022, you might think "oh that's pretty new", and I will tell you that the language itself is pretty new, so the first time the stable release of the language was introduced in 2016, first unstable release was in 2011; and originally Rust was a personal project of Graydon Hoare in 2007 who named the language after the Rust fungus; and was sponsored by Moz://a Firefox in 2009.

1- Intro 00:00
2- Presentation 00:17
3- Installation 02:47
4- Hello, World! 06:35
5- Cargo 08:28
6- Variables and Data types 11:19
7- Constants 27:23
8- Conditionals 31:27
9- Loops / Break and Continue 34:59
10- For Loop 38:38
11- while Loop 43:37
12- Tuples 46:09
13- Functions 50:04
14- Enums [Game Of Thrones!] 55:26

PS. There are more concepts than that I actually recorded to cover, but didn't want the video to be more than one hour long, that's why I've decided to post short videos to explain other advanced concepts of Rust.

Join Bek Brace Page @bekbraceinc
Join Bek Brace Dev Group
Insagram
GitHub Rust Sandbox
DEV

Track: Game of Thrones Theme | DJD3 & BRANDS Remix
Music provided by "ByeByeCopyright".
Join this channel to get access to perks:

My VSCode themes
Yaru
Ubuntu
Jellyfish
Рекомендации по теме
Комментарии
Автор


Hey Coders: I did not cover everything in this video, we've just scratched the surface, but I'm planning on creating separate short videos to explain various concepts like: shadowing, code blocks, references, structs, arrays, IMPL, traits, vectors, crates and more... PEACE

BekBrace
Автор

Fantastic, I am just learning rust and this is exactly what I needed!

I played along and discovered the following things:

21:30 Your phrasing confused me a bit here. As far as I know, the datatypes will stay. It is the std:: prefix which will go. So std::i32 becomes simply i32. (This makes the import obsolete.)

16:55 You are right about mut in general. This particular example seems to be resolved by shadowing alone. Inserting mut in line 8 at this point would have made it more intuitive for me. (I think isolating each example even more would have helped here.)

I am looking forward for the rest of your series!

andromeda
Автор

Nice GOT touch at the end Bek thanks a lot

agmednassim
Автор

amazing video 🙂 ..we need advance concepts also..thank you

Harshadswe
Автор

Damn ! Even Rust man ? GREAT JOB, Bek!
Can you create a quick Learn on video for MySQL plz ?

davidcostigan
Автор

Hej Bek ! Good effort, wish your channel best of luck and more success

amarek
Автор

Great job Bek, it would be good to make a video about yourself and talk to your subscribers about your background and what do you do in general- keep it up buddy

leonkennedy
Автор

I really like your video contents generally....I would like more of Rust content so much!!!

otisrancko
Автор

21:45 it has been there all along, hidden in plain sight. A string is a char array

mrt_
Автор

Great tutorial Bek. I'll try rust some day.

TheAremoh
Автор

Thank you for your wonderful video. May I please ask very unrelated question that - what is the name of your zsh theme? :)

chandrashekharkotekar
Автор

How do I get that pink, yellow, blue prompt for PowerShell?
I see it around but don't know what to look for.

SamKatakouzinos
Автор

Very cool Bek, what will be next, COBOL ? 😎

narutokun
Автор

Friend if possible plz create playlist on Tauri & React also following you from long time.

ZhCrypto
Автор

what extension did you install? your vscode interface looks fancy

frankieyeung
Автор

I have no idea how you got that loop to run that slowly. Mine prints 100K lines in a fraction of second. Did Rust change something in the println performance this year?

kobibr
Автор

Thank you Bek, i heard about rust a lot but never played with it

waelmohameddd
Автор

You shouldn't be using the 'Rust' extension. It's a newbie trap. It will soon become deprecated.
The rust-analyzer even migrated to the official Rust account some time ago, which also can be seen by the blue badge in the video.

embeddedbastler
Автор

I prefer light theme. Otherwise, great video!

cbbcbb
Автор

at 17:20 This is bad Bek... you missed shadowing and that you already had a previous num. Also, they are not variables, they are bindings. The word variable is for high level languages. Rust is a system language and there is hence no such thing as a variable. There is a name that the compiler uses to define a location on stack, on heap or in the binary code which is bound.

peternierop