Rust Tutorial #1 - Introduction To Rust Programming

  Рет қаралды 519,083

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 289
@TechWithTim
@TechWithTim 2 жыл бұрын
What should I cover in this Rust series?!
@jgalvan09
@jgalvan09 2 жыл бұрын
Rust with NFTs because Solana price is below $100 time to use Solana network !! time to make money
@sanvi4236
@sanvi4236 2 жыл бұрын
a side series on building a gui with tauri would be great
@zer0flash16
@zer0flash16 2 жыл бұрын
Web assembly/rust in web dev, rust basics, asynchronous rust (tokio) etc.
@takudzwamakusha5941
@takudzwamakusha5941 2 жыл бұрын
Uses of rust for someone who watches your videos or how it can be linked to some of the domains you have already covered
@mlg6009
@mlg6009 2 жыл бұрын
Everything tbh
@gogopher1093
@gogopher1093 2 жыл бұрын
Can't tell you how excited I am for this series. There's not enough Rust content on this platform, and I'd love to see more from you. Keep up the great videos!
@TechWithTim
@TechWithTim 2 жыл бұрын
Glad to hear it!
@Destiny-us1xf
@Destiny-us1xf 2 жыл бұрын
Definitely this guy is amazing can’t wait to see more 💯
@thegreatprogrammer5937
@thegreatprogrammer5937 2 жыл бұрын
Recently saw 100s of Tauri by fireship where he mentioned that rust can also be used for desktop dev. This series will help me for that...
@durandekamga2298
@durandekamga2298 2 жыл бұрын
Exactly 😌
@Benmenesesjr
@Benmenesesjr 2 жыл бұрын
Idk how when I started learning flask this channel posts a tutorial on flask and when I get interested in Tauri from the fireship video they post a rust turorial
@vask5500
@vask5500 2 жыл бұрын
Same
@jma42
@jma42 2 жыл бұрын
tauri handles alot fron js api already, I havent written any rust code on my first tauri app (a calculator) but hopefully I get to learn more about rust noww
@omar72999
@omar72999 2 жыл бұрын
Rust is PRIMARILY used for desktop development and especially all low level things you might ever need to build. Rust is typically seen as an OS language because of its low level capabilities, optimization, and can’t forget about safety!
@sciencegeeks1370
@sciencegeeks1370 2 жыл бұрын
You are really the only person I will love to learn rust from
@frroossst4267
@frroossst4267 2 жыл бұрын
All I know about rust is that it is really hard to learn but now that Tim has a tutorial it's gonna be a breeze! Always love your tutorials!
@rubencid2575
@rubencid2575 2 жыл бұрын
For people curious, the main.pdb is database with debug information of the program. Let say you want to know what does the executable to, if you have that file the directions in memory will have the proper name.
@KashTheKingYT
@KashTheKingYT 8 ай бұрын
Thanks
@johnnytoobad7785
@johnnytoobad7785 2 жыл бұрын
I'll be watching these vids so my brain doesn't ...RUST. Tim is the one to teach this rusty stuff.
11 ай бұрын
Just finished all of your current Rust videos. Thanks for the tutorial! Really helpful.
@samdavepollard
@samdavepollard 2 жыл бұрын
i'm a complete Rust noob couldn't have found a better teacher pretty much a case study in how to make a coding tutorial - super clear, easy to follow, worked first time many thanks for sharing your knowledge, Tim on with the rest of the playlist ... subbed
@TheStringBreaker
@TheStringBreaker 2 жыл бұрын
*This man is a LEGEND! Thanks for covering an up and coming programming language like Rust!*
@dyspatch8574
@dyspatch8574 2 жыл бұрын
You made me love your channel. Great job Tim. I love Rust!
@rontarrant
@rontarrant 5 ай бұрын
I so totally agree with you, Tim. Tabs are so much easier than spaces. I really don't know why this isn't the default in every language and every text editor/IDE.
@jumper0122
@jumper0122 2 жыл бұрын
YES! I've been offloading little things to Rust to speed up my programs, but I have not even scratched the surface! I hope this becomes a 20+ part series I can keep coming back to when I need to re-up my understanding of something
@stubby2024
@stubby2024 2 жыл бұрын
always living up to standard. Thank you so much Tim. You really put effort into these video's and that is what keeps me going!
@dothgaerwenoakblossom15
@dothgaerwenoakblossom15 Жыл бұрын
I didn't watch the whole video but "I have been using rust the past few days" is not one of the quotes that picked me up
@GodGetsTheGloryy
@GodGetsTheGloryy 2 жыл бұрын
I’m intrigued with this language I learned python through you before I took cs1 at UNO. Was a breeze passed with a 99%. Your amazing and explanations just make so much sense to me!
@demyk214
@demyk214 Жыл бұрын
There is noone else I’d be happier to learn rust from and that’s u. I already know 4 languages but I wanna tighten the gap a little and have a fast general purpose language. Thanks Tim, providing as always!
@CornishMiner
@CornishMiner 2 жыл бұрын
Looking forward to this Tim. Been thinking about exploring Rust and you are just the person to do it with!
@jeromesimms
@jeromesimms 2 жыл бұрын
Rust has always looked so cryptic to me. Hopefully this entire series will change that for me, so thanks in advance, I love your videos btw 👍🏼
@isaacslemko7947
@isaacslemko7947 Жыл бұрын
Subscribed right in the first minute, love how clear you deliver the point!
@juangajardo4054
@juangajardo4054 2 жыл бұрын
YES!!! I was hoping for this! thank you very much for this series
@RedGamer-xc5mh
@RedGamer-xc5mh 2 жыл бұрын
my god, i've been wating so long for this, thank you so much Tim
@techbhanucomputer4389
@techbhanucomputer4389 2 жыл бұрын
tim, your awesome. i was learning rust from rust's official docs, and then you started a new series! tq sooooooooooooo much!
@myzel394
@myzel394 2 жыл бұрын
Holy shit when I saw your video I was literally screaming at my monitor because there will finally be a good tutorial series about rust. I've wanted to learn Rust for months but was desperate for good tutorials. Thanks Tim, thank you so fucking much.
@jamesjoyce5962
@jamesjoyce5962 Жыл бұрын
«imma just use tabs because they are easier» is definitely a subtle troll, well done mate
@earljohnmasaga6440
@earljohnmasaga6440 Жыл бұрын
Love your content. I always go to this channel when i need to learn about programming. ♥
@TechWithTim
@TechWithTim Жыл бұрын
Awesome, thank you!
@NorteXGame
@NorteXGame 2 жыл бұрын
Really looking forward to this! Maybe I'll even follow along once, and if, more tutorials appear.
@tudatostrader
@tudatostrader 2 жыл бұрын
Thanks Tim! Keep Rust content coming! :)
@soupnoodles
@soupnoodles Жыл бұрын
I'm just happy you're finally mentioning prerequisites correctly
@mohamadabdulla3732
@mohamadabdulla3732 2 жыл бұрын
I just saw your notification and I will continue watching your videos
@wahidislamlinad
@wahidislamlinad 2 жыл бұрын
aha perfect timing.. i was already looking for a updated rust tutorial for a month🥰
@ssophia
@ssophia 2 жыл бұрын
I was waiting for this! Thank you so much.
@useronetwothree-z6f
@useronetwothree-z6f 3 ай бұрын
great series, rust is my favourite programming language
@Sanyapantyukhin13
@Sanyapantyukhin13 2 жыл бұрын
And as always at the right moment! Thank you!
@najmi3905
@najmi3905 2 жыл бұрын
Thank god a rust guide from my favourite code content creator
@fixer8173
@fixer8173 2 жыл бұрын
Super hyped, love your content, want to learn rust for a while, went through part of the book, but lost motivation a year ago. Video series is always easier to learn from.
@88spaces
@88spaces 11 ай бұрын
Easy to follow. On to the next one.
@CC-bl7yf
@CC-bl7yf 2 жыл бұрын
Best instructor for Rust! ❤ I do come from Android development with Kotlin and Data Science with Python. But your Instruction made it so easy to follow through. You deserve millions of sub.
@johannjomy8764
@johannjomy8764 10 ай бұрын
you need to install the first thing in the c++ build tools window for it to actually work
@DuyTran-ss4lu
@DuyTran-ss4lu 2 жыл бұрын
I'm super excited to this series
@ankitchetri2968
@ankitchetri2968 2 жыл бұрын
Thankyou this was very necessary
@VulcanOnWheels
@VulcanOnWheels Жыл бұрын
9:32 They're called braces. Here's what I've read: () - parentheses [] - brackets {} - braces 9:49 I've tried your code without the semicolon and it compiles and runs just fine.
@grzegorzryznar5101
@grzegorzryznar5101 Жыл бұрын
I like this introduction! Sounds very promising!
@EntangledFrequency
@EntangledFrequency Жыл бұрын
Great work! Very helpful to have in "bite size" videos!
@yfzhangphonn
@yfzhangphonn Жыл бұрын
Really appreciate for sharing mate!
@jonathanmoore5619
@jonathanmoore5619 2 жыл бұрын
Glad you're doing rust.
@kagenao2336
@kagenao2336 2 жыл бұрын
Just started to learn Rust so this really suits me, thanks!
@do0nv
@do0nv 2 жыл бұрын
I was just about to start learning rust and then this showed up! Thank you so much!
@14ftdude
@14ftdude 2 жыл бұрын
Love your vids keep up the great work
@cepson
@cepson 2 жыл бұрын
I'm sure someone has probably mentioned this problem, but I could not install rust on my Linux system, apparently because I used snap to install curl first. Instead, I had to remove the snap-installed curl, and reinstall curl using apt. Once I did that, the rust installation went smoothly. Hopefully this will help someone who might be struggling with this issue.
@ngockhoi9661
@ngockhoi9661 2 жыл бұрын
Yeah, i love rust so much, thank you and hope you make more for this series rust
@perc-ai
@perc-ai 2 жыл бұрын
This could be the biggest Rust series in KZbin cause no one is making Rust content rn
@alexg6849
@alexg6849 6 ай бұрын
very easy to understand, thanks
@zsh7862
@zsh7862 2 жыл бұрын
i was searching for this, thanks
@LearnWithNeeraj777
@LearnWithNeeraj777 2 жыл бұрын
BOOM...amazing content is ready for rust lovers...
@fireplank7520
@fireplank7520 2 жыл бұрын
Omg finally! Thank you tim !
@bourbonick
@bourbonick 8 ай бұрын
woooo! At 48, I wrote my first program.
@kitgary
@kitgary 2 жыл бұрын
Finally Rust! I am writing for Crystal, looks like as promising as Rust and will become a core backend language soon!
@DavidRussellM
@DavidRussellM 2 жыл бұрын
Leaving a comment for the algorithm, thank you for the amazing video!
@ghouse865
@ghouse865 2 жыл бұрын
Tq so much bro ❤️‍🔥
@Terroid
@Terroid 2 жыл бұрын
DUDE I recently started learning rust, THANKS A LOT!!!
@GeekRemix
@GeekRemix Жыл бұрын
Where can i find a tutorial for someone who knows nothing about programming but wants to start with rust?
@__hazelnut
@__hazelnut Жыл бұрын
This is super helpful! Ty :)
@jimcrowjoe451
@jimcrowjoe451 2 жыл бұрын
Awesome! I was looking for a great intro....please continue with more videos!
@p-code
@p-code 7 ай бұрын
The c++ visual studio is also in the rust installer
@dracula5752
@dracula5752 2 жыл бұрын
Why you switch back to sublime from vscode?
@PhuongPham-co5je
@PhuongPham-co5je 2 жыл бұрын
I wish this series will last forever
@matt-xq1xv
@matt-xq1xv 2 жыл бұрын
Hey Tim, awesome content as always! I’m leaving a comment to ask if you please could go through specific modules / libraries in depth like you did with Python. I feel like whenever I use another language I always resort back to Python based on my knowledge with the modules. For example, sockets / networking, and backend modules like flask / Django. Again thanks for the amazing content keep up the great work.
@informatik01
@informatik01 Ай бұрын
*[For those wandering why ls command is not found in Windows Command Prompt]* Yes, `ls` is a Unix command / utility which is not available in Windows Command Prompt _by default_ (it is though available in PowerShell terminal as an _alias_ for Get-ChildItem command). So most probably the author has Git for Windows installed with the option of adding Unix tools (ls is also there) to the Path (this option is offered during the Git for Windows installation).
@TheBoxingBinge
@TheBoxingBinge 2 жыл бұрын
thank you so much for this tuturial!
@matthewmckeen2302
@matthewmckeen2302 2 жыл бұрын
I thought this was about to be programming for Rust the game lol, Once I finish your python series I'm gonna learn this
@tldcollins
@tldcollins 10 ай бұрын
On Mac, the Rust insaller adds the rust binary folder to the path in the .bash_profile. If you're using zsh, you will probably need to add the equivalent to your .zshrc.
@Oxxyjoe
@Oxxyjoe Жыл бұрын
You can simply type the name of the executable on windows as well. main 13:30
@syntheticperson
@syntheticperson 2 жыл бұрын
Very helpful. Thanks
@premshinde6894
@premshinde6894 2 жыл бұрын
Thank you so much for teaching this language sir !!
@jma42
@jma42 2 жыл бұрын
FINALLLY tim I learned python from you, now its time to get rustyyyy
@phanorellux
@phanorellux 2 жыл бұрын
Thanks!
@xXHelsingGamingXx
@xXHelsingGamingXx 2 жыл бұрын
Love your videos bro! :-D
@jasongracae1780
@jasongracae1780 2 жыл бұрын
Well I just thought about learning rust and you just started the playlist! I saw have installed tabnine, did you do that after I suggested it or what?
@toxicvoid0663
@toxicvoid0663 2 жыл бұрын
So the semi colon is not mandatory at the end of the line like C/C++? cuz you wrote "here should be a semi colon".. but the program ran just fine without throwing out errors
@dynfoxx
@dynfoxx 2 жыл бұрын
Everything is an expression in rust. A way to think about it is that the semicolon consumes the return. If you want to pass something to an above "scope" you can leave it out.
@LouiseBrooksBob
@LouiseBrooksBob 2 жыл бұрын
Was waiting for the errors generated by the missing semicolon and was shocked to see the program just compile and run.
@megumin4625
@megumin4625 Жыл бұрын
So, most things are an expression in Rust and can return a value. What this means is, that without the semicolon at the end of the function, `println!()` is returning the result of it from the function. Similar to as if you had written `return println!()`. You can take advantage of this in many other parts of the language as well. But anyways, `println!()` returns unit `()`, which is basically no value. The main function also returns unit `()` (if there's no return type specified, it's automatically unit), so the types match up and it works in this case. If he had other statements after that, he would need to add the semicolon as the expression return without a semicolon only works that way as the last statement. Please note that the above was only a simplified explanation, and leaving out the semicolon does not imply `return` in that way. It just evaluates to a value. You can use this fact in many other places and leave out a semicolon, e.g. in run blocks, etc. (Don't worry too much if this was confusing). If you have questions, feel free to reply to my comment!
@MocharaidThree
@MocharaidThree Жыл бұрын
How do you get your command prompt to autocomplete? that seems so useful.
@kakafob
@kakafob Жыл бұрын
I have learned Django with Time and now Rust with Tim :))
@brien.
@brien. 10 ай бұрын
what are your thoughts on Django? and why learn it over alternatives
@msp-99000
@msp-99000 2 жыл бұрын
Awesome bro.... Jut today I was looking for some Rust course with Yew framework
@karolkurek9201
@karolkurek9201 2 жыл бұрын
Sublime Text is not totally free: "Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use."
@martis9453
@martis9453 2 жыл бұрын
Love the rust content!
@BrandonFalkTheActor
@BrandonFalkTheActor 9 ай бұрын
Initially my antivirus blocked main.exe from printing "hello world!" in the terminal. Lols. This tutorial is great! Thank you.
@J0VIN
@J0VIN 2 жыл бұрын
and I'm stuck on the installation phase of the C++ build tools lol its stuck on installing visual studios and here I am expecting to learn a new language :/
@rodaguj5718
@rodaguj5718 11 ай бұрын
11:42 how did you run LS on command prompt? do you have an alias for that or did you setup WSL (Windows as Subsystem for Linux)?
@heisenbergwhite5845
@heisenbergwhite5845 2 жыл бұрын
Please make a video on Go vs Rust, and which is better for what projects
@s7v7n97
@s7v7n97 2 жыл бұрын
THANK YOU :3 !!!
@mr.boomguy
@mr.boomguy 10 ай бұрын
I heard some comments, and I don't know if they're just memes, but many says "Just use Rust". As a complete novice to programming, I of cause have no idea how good it is, but I hope it's a good learning platform at least
@patrickborys3490
@patrickborys3490 2 жыл бұрын
The command fot listing files on Windows is 'dir' 11:45
@zirkoni42
@zirkoni42 2 жыл бұрын
.\ is not needed on Windows
@thermotronica
@thermotronica 2 жыл бұрын
ah so clear thanks
@eliasmichalis
@eliasmichalis 2 жыл бұрын
Hi there what about iPad? Is there any compiler ?
@faatemehch96
@faatemehch96 Жыл бұрын
Great Video
@yohohoho17
@yohohoho17 Жыл бұрын
thank you pal
@debajyatidey9468
@debajyatidey9468 Ай бұрын
I literally cane here to learn rust just to build a tauri app. 😅
@Sahil-a-vim-user
@Sahil-a-vim-user 2 жыл бұрын
Thank you
Rust Tutorial #2 - Using Rust Tools (cargo, rustfmt)
9:14
Tech With Tim
Рет қаралды 173 М.
How to Learn Rust
10:36
No Boilerplate
Рет қаралды 606 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Where is Rust being used?
11:46
Let's Get Rusty
Рет қаралды 154 М.
I spent six months rewriting everything in Rust
15:11
chris biscardi
Рет қаралды 451 М.
you need to build a RUST desktop app!!
27:21
Travis Media
Рет қаралды 341 М.
The Ultimate Tier Programming Tier List | Prime Reacts
26:57
ThePrimeTime
Рет қаралды 526 М.
The Rust Survival Guide
12:34
Let's Get Rusty
Рет қаралды 175 М.
Rust for the impatient
10:43
No Boilerplate
Рет қаралды 768 М.
Rust Crash Course | Rustlang
1:50:43
Traversy Media
Рет қаралды 1 МЛН
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Should you learn Rust in 2025?
11:11
Let's Get Rusty
Рет қаралды 42 М.