Тёмный

Introduction to Rust Part 1 

Ryan Levick
Подписаться 14 тыс.
Просмотров 138 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 184   
@ilia2178
@ilia2178 3 года назад
Thank you RU-vid algorithm for suggesting this video after I watched a few rust game videos.
@mimosveta
@mimosveta 3 года назад
not gonna get me thanking, I was looking for this type of video, but youtube suggests game videos to me. I like, never watch game videos, barely play any games too, not that I think it's bad if you do, it's just that games make me anxious beyond belief, like "why am I playing this game, with my limited time on this earth, I should be doing something useful, I might as well apply for my old job at sbb if I want to spend my life this unproductive", so I can't. I even feel anxious wasting time typing this comment, goodbye
@HowDoYouUseSpaceBar
@HowDoYouUseSpaceBar 3 года назад
@@mimosveta What.
@slopeydopey3108
@slopeydopey3108 3 года назад
@@mimosveta wasting your life is not enjoying it - liberal humanist.
@stefaneduard8169
@stefaneduard8169 3 года назад
@@mimosveta it's not a waste of time as long as you enjoy it
@matikb.6733
@matikb.6733 2 года назад
@@mimosveta It's healthy to have a break from time to time. Also We are just humans: There is nothing wrong in "wasting" time sometimes. The thing is We should keep on comming back to doing stuff after the breaks. - Do good stuff DX
@theartist8835
@theartist8835 3 года назад
I would argue that this is the best way to teach a programming language; learning by building things. please continue to upload such videos.
@cryptopatrick
@cryptopatrick 3 года назад
THIS WAS GREAT!! Loved the pacing and patient elaboration of details. Looking forward to part 2.
@lucaivaldi4520
@lucaivaldi4520 3 года назад
Thank you Ryan! Putting together a program, even a simple one, touches so many different topics and gives the opportunity to have a taste of how to tackle problems.
@blackbriarmead1966
@blackbriarmead1966 Год назад
As someone who has explored plenty of other languages but found writing rust intimidating, such a direct walkthrough really helps out
@heidtmare
@heidtmare 3 года назад
I'm well aware of all this information but still found myself enjoying the entire video. Well done sir!
@Matteinko
@Matteinko 3 года назад
I have not listened anything yet...but I have been watching Microsoft Flight Simulator series and you are great there. I bet this will make the list of the top Rust video for Beginner. I am going to enjoy now.
@alexarnesen4036
@alexarnesen4036 3 года назад
This video is by far the best intro I've found in several weeks looking. At 150% speed, this is a great, well-paced overview for professional programmers with some fp background.
@NuLuumo
@NuLuumo 3 года назад
Rust-lang feels like a hybrid of javascript and C, at least syntax-wise. I like it :)
@kevinpruett
@kevinpruett 3 года назад
This was...EXTREMELY well done! Thanks for putting this together Ryan! For a complete Rust beginner, this was a really useful resource. Looking forward to Part 2.
@ESPPsycho
@ESPPsycho Год назад
Dude you are a natural teacher, I felt like I was sitting front row in a quality workshop. More!
@nitinrajyadav14
@nitinrajyadav14 3 года назад
Thanks Ryan!!, this's nicely detailed introduction to the Language, very beginner friendly.
@vgsuresh
@vgsuresh Год назад
really good stuff Ryan... love the patience while explaining concepts and starting very small with very basic stuff. Thanks a lot for this.
@alex.b.h
@alex.b.h Год назад
43:57 the most used phrase by devs 🤣🤣🤣 *"something isn't quite right... but will run... it will run fine"*
@vunpac5
@vunpac5 2 года назад
I appriciate the depth you go into on each symbol, and the inner workings of the language. A lot of people mention parts but exclude enough to keep you confused.
@guns4liberty
@guns4liberty 2 года назад
This tutorial is one of the best there is for Rust. Take your time and dig in. Having a chat while the class is in progress is a tremendous plus.
@neilclay5835
@neilclay5835 Год назад
I thought your explanation in the last quarter of this video was excellent, it's the best explanation I've come across for borrowing, ownership and references in Rust. Sorry to see that you're not producing videos any more (from what I can see anyway)
@fa9913
@fa9913 2 года назад
I started watching this video after finding myself struggling mid way through "The Book". Great content and well explained, keep up the good work !
@this.channel
@this.channel 3 года назад
Hey, just wanted to say, this is the best beginners series I found on rust. Thanks for making it.
@Yassinebridii
@Yassinebridii 3 года назад
One of the best learning materials i have watched, not just about rust, patient and explains well. Really looking forward to this series.
@AmitErandole
@AmitErandole 2 года назад
this is much better than introducing people to standard data structures in the language. We can always learn those on the way
@wagiewojak
@wagiewojak 2 года назад
Thank you, this is the best rust tutorial on youtube! Finally somebody that explains the language features rather then how to do a if, for loop or any other boring stuff that can be learned in like few minutes.
@WorstDeveloper
@WorstDeveloper 3 года назад
Very nice tutorial. Looking forward to part 2. If you don't mind me giving you a tip, then I would love if you changed to a dark mouse pointer in Windows. This will give it a white border and make it a million times easier to see while you're pointing at things in VS Code. :) Recording and uploading in at least 1080p would also help quite a bit to make it less blurry.
@colin1389
@colin1389 3 года назад
This was awesome, can't wait for part two!
@amidfallen
@amidfallen 2 года назад
I like that idea of "view"... I don't know why, but it makes more sense rather than "reference". I guess it is less abstract, thus easier to imagine.
@pog_champ
@pog_champ Год назад
Very engaging video, watched the whole thing while coding alongside. Going to the second part now!
@petacardi
@petacardi 2 года назад
1:31:48 best disapointment expression ever! Great introduction to Rust, thank you!
@FaithOlusegun
@FaithOlusegun 2 года назад
Yes Thanks Ryan! This was timely man! I've been worrying and asking everywhere does this 'match' expression in Rust mean like umm 'Switch' statement in my other languages - C#, Java. Thank you very much and I've just subscribed to your channel! You and Bogdan from Let's get Rusty are my two favourites on Rust! 😀
@chsblue2
@chsblue2 3 года назад
This is an incredible introduction with many details that really brings it to the point. Loved every second and hope to soon find the time + project to get my hands dirty with Rust myself. Awesome work! Thank you, Ryan.
@justaspeedrunner
@justaspeedrunner 2 года назад
May be nearly two years late to this video but I am really enjoying it and you help me understand what I'm writing very well. I appreciate you for making these videos and you've most certainly gained a sub from me
@mariogutierrez4989
@mariogutierrez4989 2 года назад
Wow, you have some patience. Just wish some of the viewers had the same patience. They slowed it down a lot. It's OK to ask questions but please ask good questions.
@davidrappo8148
@davidrappo8148 3 года назад
Hi Ryan, Great presentation! It was very easy to understand and follow. I am looking forward to watching part two. I am interested in Rust because of it's focus on safety without compromising performance (no garbage collector). Thanks,
@andydataguy
@andydataguy 2 года назад
Glad your video got suggested!! I've been looking for Rust streamers 🙌🏾
@anonanon5295
@anonanon5295 3 года назад
Hey Ryan, just wanted to say I really enjoyed this. I'm on break from University at the moment and plan to deep dive in on Rust during my time off. This was a very good introduction and it would be great if you continued the series!
@darkarie
@darkarie 3 года назад
I am learning a ton with your videos Ryan, thank you and keep it up!!
@SarcTiann
@SarcTiann 3 года назад
This is the better tutorial that I seen to date. Thanks from Argentina Ryan
@alexandersemionov5790
@alexandersemionov5790 3 года назад
The way you teach is so satisfying. I am mentally getting doctors degree in CS. Thanks
@amerispunk
@amerispunk 3 года назад
Yes, this is a bit of a tedious treatment but actually just what Rust calls for. Thank you so much. Highly recommended!
@AmiranBokhua
@AmiranBokhua 2 года назад
Much appreciated Ryan, using this to learn Rust as first programming language
@angelbythewings
@angelbythewings Год назад
You cleared almost all doubts i had regarding programming in rust
@jhduan382
@jhduan382 3 года назад
You are the BEST teacher I have ever seen, THANKS!
@vpsingh3475
@vpsingh3475 Год назад
Thanks, very nicely explained Rust concept with VS code IDE and helpful available tools.😊
@MrSparc
@MrSparc 3 года назад
GREAT IDEA this video series! Thank you so much for your excellent explanations and your commitment to share your knowledge with the community!
@saravanansaibaba8374
@saravanansaibaba8374 Год назад
Wow!. Fantastic session. I loved every minute of it. Learned a lot on of the very important things on getting started with Rust.
@zurvey
@zurvey 3 года назад
Have you considered doing a series for Rust as a *first* language? An entire generation of programmers learned C as their first programming language. I would *LOVE* to see a series of Rust classes for absolute beginners to programming. After all, it's somewhat ridiculous to demand that all newbies learn an entire different language to start, throw it away, THEN learn Rust. If Rust is where they'll be, then we should stop taking shortcuts with training and do Rust training right: from fundamentals to the top level. Thanks for listening.
@eduardogomesheleno9812
@eduardogomesheleno9812 2 года назад
I loved your explanation about the difference between String and &str
@sokhuong-uon
@sokhuong-uon 2 года назад
The best I could find on RU-vid
@awilliamwest
@awilliamwest 2 года назад
A little slow for someone not *totally* new to Rust, but I enjoyed it. One thing I learned is that semicolon is a statement *separator*, not a terminator. For example, I had an extra semicolon at the end of a function, and that changed its return type to unit () (empty tuple). Deleting the extra semicolon fixed the function, to return the value from the expression before the semicolon.
@pedroluzio
@pedroluzio 2 года назад
Dont know but I was happy that you mention, running on refrigerator before running on windows :)
@ADITYAKUMARking
@ADITYAKUMARking 2 года назад
got to know about you on microsoft rust series. this is awesome content.
@adi_trades99
@adi_trades99 Год назад
Excellent tutorial. I understand rust a little bit better now
@andriesvanwyk3226
@andriesvanwyk3226 2 года назад
Really enjoyed this, Ryan. Thank you! Please keep going
@user-sw1wq8lh2w
@user-sw1wq8lh2w 2 года назад
Simply an amazing first video, loved this, thanks.
@anupjadhav
@anupjadhav 2 года назад
This was great, Ryan. I learned a lot
@abessesmahi4888
@abessesmahi4888 3 года назад
Awesome, This is what I was waiting for. Thank you so much sir 🙏
@guy6311
@guy6311 3 года назад
Thanks Ryan!! One more extension for VSCode is CoreLLDB to debug Rust.
@tylerhanson133
@tylerhanson133 2 года назад
Great introduction! Very patient and I need my hand held with something like rust.
@huntersimmons7878
@huntersimmons7878 3 года назад
I hope you see this Ryan, but regardless, thank you! This is one of the best coding tutorials I have ever seen/done.
@oscarromeu2129
@oscarromeu2129 3 года назад
Thank u Ryan, this was an amazing master class, definetely awesome!
@andydataguy
@andydataguy 2 года назад
Love your videos. Hope you start making videos again! 🙏🏾🙏🏾🙏🏾
@acebesmonte
@acebesmonte 2 года назад
This is a very good help since Im a C#/NodeJS dev.
@techvision8639
@techvision8639 3 года назад
Please keep the series going with some learning plan; Will help us to stick to the learning
@riazbacchus3962
@riazbacchus3962 2 года назад
enjoyed this. Thanks for the video Ryan
@Vagelis_Prokopiou
@Vagelis_Prokopiou 3 года назад
Excellent video/resource. Thanks a lot Ryan for you efforts.
@abhikjain
@abhikjain 3 года назад
Nice video!! Just some suggestions, as a viewer: can we have full screen coding, with a bit greater font size ? thanks!!
@liptherapy
@liptherapy 3 года назад
It would be really nice if the videos could be higher resolution and less blurry. It is not very nice looking at it for hours but the content is so good!!
@heater5979
@heater5979 3 года назад
Nothing blurry here. Resolution is just fine. Looks great.
@muuubiee
@muuubiee 2 года назад
28:42 why is arugments being named as mutable? It's not changing any data, it's just holding it. Copying data should not require the data to be mutable, that makes no sense. There should not be a requirement for anything being mutable here, until there's an assignment after the initialization... Never mind, now I understand. It's because of the keyword next. I suppose it's a pop type of thing, rather than moving a pointer. I'll leave comment here in case somebody else is confused.
@OOJokerOO1991
@OOJokerOO1991 Год назад
Thanks for this great tutorial! Learned a lot from this :)
@calebp1211
@calebp1211 2 года назад
Fantastic video, v insightful!
@robertkottelin4970
@robertkottelin4970 2 года назад
Best tutorial that I've senn, thank you!
@TheStringBreaker
@TheStringBreaker Год назад
*Amazing serious! THANK YOU so much for this! Subbed!
@pavelperina7629
@pavelperina7629 3 года назад
Thanks a lot! Even the first 20 minutes are interesting. Not yet sure how to build or run release in VS Code, but I've already found a tip with cargo build --release, cargo run --release useful. The program that reads 80MB of data in tiles and combines them into 8400x4800 array is significantly faster. I'm trying to rewrite one project from Julia. Julia did this in maybe two seconds or 0.6s in parallel version (which is weird considering I/O, but data are likely cached). In Rust it took like 15s and out of sudden it's instant in the release so I don't need to bother with writing parallel code. And Julia is interesting, it's super-fast, but an immature Python alternative with quite good profiling and benchmarking. But I don't need 200 times faster Python as much as I need C++ alternative for programs that are quite simple, should be fast and have several external dependencies. These are a major pain. Ten years ago I learned Java for this reason.
@pavelperina7629
@pavelperina7629 3 года назад
Ok after 16 hours from zero knowledge, I rewrote 400 lines of code rendering Voxel terrain (distance map) from the height map. To my surprise, loading of data from disc is 0.12s vs 0.25s but without clamping data that make no sense and that are rare. Rendering is 2.4s vs 3.2s. So Rust wins over Julia, but not by much. Except when I write @Threads.thread before for loop in Julia. It's quite surprising that speed is comparable, despite Julia has some extra checks in type conversions.
@allenemersonn1227
@allenemersonn1227 3 года назад
I am a true Rust beginner. Last programmed for a company in the age of IBM compiled BASIC and Turbo Pascal. You immediately punched me out of the ring with the whole arguments options thing. ...for true beginners? ...not this one. Back to the Rust book for me.
@RyanLevicksVideos
@RyanLevicksVideos 3 года назад
Sorry that the video wasn't right for you. By "beginners" what I had in mind was people who program regularly but are complete beginners *to Rust* but are still comfortable with programming in general. If your last programming experience was from the 80s, then I agree this video might be too advanced. Words are hard, and I'm sorry that my description was ambiguous. I wish you success though, and I hope my videos can be a resource at some point in your Rust learning journey!
@rad1m
@rad1m 2 года назад
Great video! Thanks a lot. I've learned a lot today.
@JohnPywtorak
@JohnPywtorak 2 года назад
Thanks, great intro. Personally I’d rather see the “if let …” syntax instead of unwrap() along with expect(). As new comer to Rust to many tutorials bail out and use unwrap() and I had no idea what it is doing. You end up having to explain Result and Option enums, so to me unwrap is unfortunate in tutorials. I understand and appreciate it in the language. PS: aren’t macros Rust code anyways so format! ultimately is Rust code, it is just a compile time action instead of runtime which is an awesome feature. Maybe I have that wrong.
@laamstech
@laamstech 2 года назад
Thanks for the video Ryan. Will gRPC Officially support Rust anytime soon?
@beewyka819
@beewyka819 2 года назад
1:16:30 actually it wouldn't just be a warning, as then `contents` would be of type `Result`, so if other parts of your code are expecting it to be a String then you'll get some errors.
@omolluska
@omolluska 3 года назад
This is really excellent content. Thank you for doing this!
@Darkev77
@Darkev77 Год назад
Hey Ryan, where did you go :( I tried to reach out via email but I couldn't find any, I see you haven't been active for a while, is everything okay?
@MrEmanuelFeijo
@MrEmanuelFeijo 3 года назад
Hello, i really appreciate your excellent work explaining rust. I think it is great language, knowing the basics is a feasible task but what are your advices to work professionally with the language. Some project examples are welcome. At moment I know python, a little bit of c and kotlin. Keep the good work :)
@lucaszecat
@lucaszecat Год назад
How did you end up managing to learn rust after python ? Any update ? I just finished learning python here.
@binkycs
@binkycs Год назад
Great video, but I think you're the only person I've ever seen that codes with the insert key pressed lol
@herr6239
@herr6239 3 года назад
you are very talented with teaching others, thanks
@chrishanthacosta4093
@chrishanthacosta4093 3 года назад
excellent Ryan!!. Please do a vide on on writing web servers - actix-web ... etc
@SibzelChebst
@SibzelChebst 3 года назад
Thank you for the fantastic introduction!
@catharsis222
@catharsis222 3 года назад
Low-level in the physical level.... high-level in rewards and flexibility & control
@luispe84
@luispe84 3 года назад
Thanks Ryan for sharing your knowledge 🙌🏽
@danielfielding1938
@danielfielding1938 2 года назад
RUST! The amazing language that can't sort floats!
@albedobond3827
@albedobond3827 3 года назад
Really Thanksful!! Thank you so much Mr. Levick!
@calderarox
@calderarox 3 года назад
THIS WAS GREAT!
@delaskarcaicedo5778
@delaskarcaicedo5778 Год назад
Thank you so much!!! This was awesome!!!!
@dumbidiot1119
@dumbidiot1119 2 года назад
kinda lost me at the struct and impl part around 1 hour. I am gonna read the book and come back bc this video is really well done
@SolaireML
@SolaireML Год назад
Great job
@DevinBidwell
@DevinBidwell 3 года назад
My man, why are your videos not more popular??
@jaradj876
@jaradj876 2 года назад
Dipping my toes into Rust here......it looks like we're creating a database AND loading key/value into it. Wouldn't we want one program to create a database and a separate program to load new keys/values into it?
@arpitsingh1000
@arpitsingh1000 2 года назад
great video man
@gsniteesh3794
@gsniteesh3794 3 года назад
Please keep this series going :)
@this.channel
@this.channel 3 года назад
Tip, if you are updating rustup and are having problems with updating files due to write access, it's probably your AV.
@LokeshBalla
@LokeshBalla 3 года назад
Thank you for this series.
@pshar2931
@pshar2931 3 года назад
Thanks for the effort. I really liked it.
@yrvinescorihuela6689
@yrvinescorihuela6689 2 года назад
I like your headphones! What is the model/brand?
Далее
Introduction to Rust Part 2
1:56:03
Просмотров 32 тыс.
When Zig Outshines Rust | Prime Reacts
23:31
Просмотров 139 тыс.
Decompress small game, have time to play it!
00:35
Аушев, Путин, «пощечина»
00:56
Просмотров 477 тыс.
I spent six months rewriting everything in Rust
15:11
Просмотров 426 тыс.
Why You Shouldn’t Build Your Next App in Rust
9:18
Rust is easy... (we make it hard)
10:11
Просмотров 121 тыс.
What Makes Rust Different?
12:38
Просмотров 202 тыс.
Object-Oriented Programming is Bad
44:35
Просмотров 2,3 млн
Rust makes you feel like a GENIUS
10:48
Просмотров 406 тыс.
Rust: Error Handling
19:16
Просмотров 15 тыс.
C++ vs Rust: which is faster?
21:15
Просмотров 393 тыс.
Premature Optimization
12:39
Просмотров 804 тыс.
Decompress small game, have time to play it!
00:35