Popular Rust Iterator Methods 🦀
54:54
Пікірлер
@therecyclebin8509
@therecyclebin8509 Күн бұрын
Hey how are you?!
@Graveness4920
@Graveness4920 2 күн бұрын
really great video but please dont use such complex example. Here to understand future not f1 racer cars.
@NowuArt
@NowuArt 3 күн бұрын
Very solid explanation, great video!
@sanjayidpuganti
@sanjayidpuganti 4 күн бұрын
Learned a lot. Thanks. Hope your health gets better
@50PullUps
@50PullUps 4 күн бұрын
23:27 I’ve been using subexpressions when I could’ve just used -f, the binary format operator?! 🤦‍♂️
@TrevorSullivan
@TrevorSullivan 4 күн бұрын
It's the .NET String formatting operator! Really useful for building strings from variables, as you can reposition them easily.
@alighahremani4626
@alighahremani4626 5 күн бұрын
I learned something 👍
@BalajiPitch
@BalajiPitch 6 күн бұрын
many thanks for a very detailed video. i followed all through but when i start --console, I got a spice error saying could not connect to on a different port, not sure what I am missing
@jim7smith
@jim7smith 9 күн бұрын
I wholeheartedly agree with your choice of date and time formats, having served in the military and in several countries who both use the 24 hour clock and sensible date formats along with the metric system... Although I was born in the USA, I am not crazy about our system of measures.
@TonoNamnum
@TonoNamnum 10 күн бұрын
Great video but have to be careful! If you where to have only one CPU by your computer then sleep function would block all your spawn threads! That is the reason why they say that high CPU intensive work is better for parallel programming instead of async. That is because if you do not await you will be blocking other async work. Remember to use the tokio sleep function that has an await. Then that sleep function will hand work. That is the reason why you finally saw other threads on your computer finally being used.
@brianobot2543
@brianobot2543 12 күн бұрын
When I do become something with Rust, I might not have the avenue to tell you directly that your contents made a greater portion of the rustness i would have in me
@BitcoinCoreDev
@BitcoinCoreDev 13 күн бұрын
recasting an inherited variable in an in-scope closure may be an interesting experiment. 😊
@wanabecoderguy7
@wanabecoderguy7 16 күн бұрын
Starting it on 1st JAN 2024 ! (today goal is 2 hr )
@TrevorSullivan
@TrevorSullivan 16 күн бұрын
@wanabecoderguy7 I think you mean 2025! 🙂 You can do it! Happy new year!
@STgA97
@STgA97 16 күн бұрын
This is the absolute best Rust tutorial series in existence! Tysm
@TrevorSullivan
@TrevorSullivan 16 күн бұрын
Thank you so much! 🦀 Happy new year!
@agnesakne4409
@agnesakne4409 17 күн бұрын
Where can I earn 200k p.a. with rust?
@onlydebian
@onlydebian 18 күн бұрын
Sir, this was the one most tough thing when learning powershell scripting. you made it so easy for me. thank you sooo much!!! Please keep making these videos.
@pixelcatcher123
@pixelcatcher123 18 күн бұрын
cheat engine has lua also imbedded
@shreyansh_shrivastva
@shreyansh_shrivastva 19 күн бұрын
Thanks for the tutorial. However in stock_list.remove you didnt need to convert it to string and then pass the pointer as doing just "text" returns you a pointer. So thats an unnecessary step as far I understand.
@sohansingh2022
@sohansingh2022 27 күн бұрын
Great!
@crljet
@crljet 28 күн бұрын
Great Job, very clear
@IsraelEstrada-f7k
@IsraelEstrada-f7k Ай бұрын
awesome video Trevor!
@victormgbemena
@victormgbemena Ай бұрын
very nice tutoral on rust operator overloading. Thank you
@DaverleAdams
@DaverleAdams Ай бұрын
Hey, GREAT content first of all. I'm looking for one of your videos, in the video you use a full text search engine to search some documentation ( if I remember correctly ), you mention a data retrieval protocol that I am interested in learning more about. If you could point me to that video, I would really appreciate it.
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@DaverleAdams thanks very much for your kind comment! I can't remember which video that is off the top of my head! Now you've got me wondering 😊
@wanderingnomad9272
@wanderingnomad9272 Ай бұрын
Thanks for the video. I am however a bit confused by your use of the term "wrap" in the video. Aren't you just using a tuple struct with a single element of type String and implementing the Default trait for it and using that new data type as a named field inside your Person struct? Also. That changes the semantics of how you can access the value of the first name string elsewhere in the code.
@JIeFu-ee4xk
@JIeFu-ee4xk Ай бұрын
excellent contents for rust, thanks sir.
@PinganFeng
@PinganFeng Ай бұрын
Nice course ❤
@ericdomer3292
@ericdomer3292 Ай бұрын
The content quality of this playlist is INSANE!!!!! ❤❤❤❤ Lots of love to u for putting in all this time and effort to make this for us rustlings ❤
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@ericdomer3292 thanks so much! Providing helpful, high quality content has always been one of my top objectives. I'm so happy it helped you!
@LiamKarlMitchell
@LiamKarlMitchell Ай бұрын
I found this helpful thanks!
@sohansingh2022
@sohansingh2022 Ай бұрын
Very well explained! Thanks
@sohansingh2022
@sohansingh2022 Ай бұрын
thank you!
@ThisIsMyYouTubeURL
@ThisIsMyYouTubeURL Ай бұрын
Do you freelance?
@ThisIsMyYouTubeURL
@ThisIsMyYouTubeURL Ай бұрын
Subscribed,tnx
@stormbringer1330
@stormbringer1330 Ай бұрын
Great video and great explanation. Thanks for that. The next step would be advance trait usages. How extending struct behaviors like Will Crichton explane here : kzbin.info/www/bejne/mJ_RkpaimtaabM0si=aADA1V942T4GGqWw, but more simpler and above all slower than him. Thanks.
@andrewdunbar828
@andrewdunbar828 Ай бұрын
sailing on the Parentha Sea
@frippgustafsson6162
@frippgustafsson6162 Ай бұрын
In an earlier video, I think you said that bit of text surrounded by double quotes is of type String. If that is correct, why do you have to do "Porsche".to_string()? And why is the word string in all lower case in this function name?
@TrevorSullivan
@TrevorSullivan Ай бұрын
Good question; I agree it can be very confusing. There are a couple types of strings in Rust. I would reference this for starters: doc.rust-lang.org/rust-by-example/std/str.html Notice that String is heap-allocated, whereas &str is a fixed size on the stack.
@davidmurphy563
@davidmurphy563 Ай бұрын
No OOP? Not sure I want to learn an imperative only language...
@tarkcankaradeniz4594
@tarkcankaradeniz4594 Ай бұрын
such a valuable course on the net ! The video is so clean and the instructions is as clear as possible.
@developercm
@developercm Ай бұрын
Trevor, You are incredible! Thank you for this lesson! I am just getting started on this, and plan to write some World of Warcraft plugins.
@azharuddin337
@azharuddin337 Ай бұрын
This is an amazing tutorial ..
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@azharuddin337 thank you Azhar! I'm so happy you found it useful. 🦀
@CarbonTaxLOL
@CarbonTaxLOL Ай бұрын
The world needs more cowboys!
@JoelPasapera
@JoelPasapera Ай бұрын
I have windows not linux 😥😥
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@JoelPasapera that's fine, just use the Rustup installer on Windows! Or you can install Docker Desktop and do Rust development inside a Linux container.
@vikkio88
@vikkio88 Ай бұрын
nice vscode theme what is it called?
@TrevorSullivan
@TrevorSullivan Ай бұрын
Hey there! Thanks for checking out my videos. The VSCode theme is called "Outrun" by "samrapdev".
@evangeloskolimitras5276
@evangeloskolimitras5276 Ай бұрын
Great hq content. I think you should spent a video entirely on strings and strings slices as it is a fairly weird topic. Especially for js/python maybe devs.
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@evangeloskolimitras5276 thank you! Great idea to do a video on strings, I agree they're a bit odd in Rust!
@LorenzoNeriIstorn
@LorenzoNeriIstorn Ай бұрын
Hi, does it mean they’re first class objects at all?
@TrevorSullivan
@TrevorSullivan Ай бұрын
Hi Lorenzo, I'm not sure I understand your question. Are you asking if closures are "first class objects" in Rust? I think that's kind of hard to answer, without having a more strict definition of "first class objects."
@alijoumma
@alijoumma Ай бұрын
thank you for this video and other videos in this playlist, they are very useful and insightful, in the intro, I might misunderstood, but it sounded like you are saying async can't make things faster if you have 1 CPU, but that's only true for CPU bounded workloads (think intensive math calculations) but for IO bound operations (most calls external to the system like http call, db call) it actually makes things faster, because your 1 CPU doesn't have to wait at 0% utilization for the external resource to send a response, it can do other stuff until the external resource (db, website etc) sends data, which makes things faster with async with IO bound loads
@TrevorSullivan
@TrevorSullivan Ай бұрын
Yes you're absolutely right about CPU-bound versus IO-bound! That's a great point. I should have called that out better in the video.
@alijoumma
@alijoumma Ай бұрын
@@TrevorSullivan thanks for you reply!
@judevector
@judevector Ай бұрын
Man you singlehandedly helped me learn Rust . I know have a lot of knowledge that what i know last month . Thanks alot ❤
@bzmrgonz
@bzmrgonz Ай бұрын
@trevor Sullivan, I got a penny for your thoughts on canonical's microcloud.. which is built on lxd!! Lemme know when the video is ready 😀
@ken3marcus
@ken3marcus Ай бұрын
How do I disable a shortcut in termius? Right now control K is a shortcut, but I want to use control K in nano and not have it intercepted.
@wangmengjiao
@wangmengjiao Ай бұрын
very detailed and easy to learn !! great work !
@judevector
@judevector Ай бұрын
This is really nice , I really learnt and loved how you broke down the reading of file. While going through this video i noticed that using the read method it doesn't read emojis . I also learnt there is also a read_to_string method in the rust documentation Regardless this is a great video, thanks. I am unto the next one in the playlist ❤
@muxxxe
@muxxxe Ай бұрын
Great video Trevor! I'll be bingeing your channel for the next few months :). Im working towards rust mastery and I love the way you teach! Thank you!
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@muxxxe thanks so much!!! I appreciate your support. I would love to create some new content, although I work full-time and have some pretty severe chronic health problems that limit me from doing so.