Popular Rust Iterator Methods 🦀
54:54
Пікірлер
@JIeFu-ee4xk
@JIeFu-ee4xk 22 сағат бұрын
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 2 күн бұрын
I found this helpful thanks!
@sohansingh2022
@sohansingh2022 2 күн бұрын
Very well explained! Thanks
@sohansingh2022
@sohansingh2022 2 күн бұрын
thank you!
@ThisIsMyYouTubeURL
@ThisIsMyYouTubeURL 2 күн бұрын
Do you freelance?
@ThisIsMyYouTubeURL
@ThisIsMyYouTubeURL 2 күн бұрын
Subscribed,tnx
@stormbringer1330
@stormbringer1330 2 күн бұрын
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 7 күн бұрын
sailing on the Parentha Sea
@frippgustafsson6162
@frippgustafsson6162 7 күн бұрын
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 4 күн бұрын
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 8 күн бұрын
No OOP? Not sure I want to learn an imperative only language...
@tarkcankaradeniz4594
@tarkcankaradeniz4594 9 күн бұрын
such a valuable course on the net ! The video is so clean and the instructions is as clear as possible.
@developercm
@developercm 12 күн бұрын
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 13 күн бұрын
This is an amazing tutorial ..
@TrevorSullivan
@TrevorSullivan 13 күн бұрын
@@azharuddin337 thank you Azhar! I'm so happy you found it useful. 🦀
@CarbonTaxLOL
@CarbonTaxLOL 13 күн бұрын
The world needs more cowboys!
@JoelPasapera
@JoelPasapera 13 күн бұрын
I have windows not linux 😥😥
@TrevorSullivan
@TrevorSullivan 13 күн бұрын
@@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 13 күн бұрын
nice vscode theme what is it called?
@TrevorSullivan
@TrevorSullivan 13 күн бұрын
Hey there! Thanks for checking out my videos. The VSCode theme is called "Outrun" by "samrapdev".
@evangeloskolimitras5276
@evangeloskolimitras5276 21 күн бұрын
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 21 күн бұрын
@@evangeloskolimitras5276 thank you! Great idea to do a video on strings, I agree they're a bit odd in Rust!
@LorenzoNeriIstorn
@LorenzoNeriIstorn 22 күн бұрын
Hi, does it mean they’re first class objects at all?
@TrevorSullivan
@TrevorSullivan 21 күн бұрын
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 22 күн бұрын
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 22 күн бұрын
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 22 күн бұрын
@@TrevorSullivan thanks for you reply!
@judevector
@judevector 22 күн бұрын
Man you singlehandedly helped me learn Rust . I know have a lot of knowledge that what i know last month . Thanks alot ❤
@bzmrgonz
@bzmrgonz 23 күн бұрын
@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 23 күн бұрын
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 25 күн бұрын
very detailed and easy to learn !! great work !
@judevector
@judevector 25 күн бұрын
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 26 күн бұрын
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 26 күн бұрын
@@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.
@ojoawojoshua780
@ojoawojoshua780 26 күн бұрын
This is nice Trevor, but instead of going through the hassle of iterating and creating a closure, there is a method call "read_to_string" on the fs module fs::read_to_string, which does the conversion, so we can have : pub fn test_read_file() { let file_path = "./data/test.txt"; let content = fs::read_to_string(file_path).unwrap(); println!("File content: {:?}", content); }
@TrevorSullivan
@TrevorSullivan 26 күн бұрын
@@ojoawojoshua780 thanks for pointing that out!
@engsmyle
@engsmyle 26 күн бұрын
Thank you so much, for this video. I need to learn that to start my journey as a Solana developer
@solmateusbraga
@solmateusbraga 26 күн бұрын
Looks like a lazy monad. Quacks like a lazy monad. Is it a lazy monad?
@PinganFeng
@PinganFeng 26 күн бұрын
thanks million
@PinganFeng
@PinganFeng 26 күн бұрын
I want to learn about Blockchain in Rust.
@danielhaga6673
@danielhaga6673 28 күн бұрын
Thanks
@judevector
@judevector 29 күн бұрын
Man thank you so much for this playlist i have devoted over a week and more into this playlist and thats the best thing to happen to me. I cant believe i am beginning to enjoy rust ❤
@scottb4029
@scottb4029 29 күн бұрын
I think supertraits should be called compound traits. It is more descriptive
@haydenKengan-mq5xu
@haydenKengan-mq5xu 29 күн бұрын
Hi sir , Im following your course , installed everything , but I got smth dunno if its error but it's diff from what U got there anyway " [Done] existed with code=1 ] Not 0 Also it says below " lua c:users\ .... Isn't endentified as an intern or extern command ...
@blanked188
@blanked188 Ай бұрын
i used chocolatey on windows to install lua and it was the easiest way in my opinion
@SpaceDandy_VT
@SpaceDandy_VT Ай бұрын
great video, subscribed 👍
@judevector
@judevector Ай бұрын
Seriously you really teach well and i can't believe i am beginning to enjoy Rust, something that has eluded me for years . Finally
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@judevector thank you! I'm so happy to hear you're learning Rust! 🦀
@liminal27
@liminal27 Ай бұрын
Easily one of the most poorly documented crates I've encountered.
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@liminal27 yeah I struggled a lot with it before creating this video. There's documentation, it's just hard to comprehend.
@liminal27
@liminal27 Ай бұрын
@@TrevorSullivan I started using ChatGPT to help fill in gaps eg. "what does [code snippet] mean?" and it so far it's been great.
@judevector
@judevector Ай бұрын
Seriously this is very hard to understand, i was just all over the place . But good i am exposed to it let me find other places where its implemented in real projects so i can learn more
@bitferret-rx5rn
@bitferret-rx5rn Ай бұрын
How do you manage a fleet on bare metal servers with lxd
@Guihgo
@Guihgo Ай бұрын
28:15 You only can access p1 if you change twice. It's seems an bug, imagine how many bugs will happen with this "feature".. unhappy about rust....
@aminegh8725
@aminegh8725 Ай бұрын
thank you very much , i'm wondering if can i create an application allowing instances mangement an behind the seances triggering this commands ?
@CarlWilde-v6d
@CarlWilde-v6d Ай бұрын
Lua - Nvim config
@gunnarbernstein9363
@gunnarbernstein9363 Ай бұрын
Great videos. Which VS Code Theme are you using?
@TrevorSullivan
@TrevorSullivan Ай бұрын
@@gunnarbernstein9363 thanks! It's Outrun by samrapdev
@StanSouthPark-y3x
@StanSouthPark-y3x Ай бұрын
wish i could still play this
@Gabriel_Bento
@Gabriel_Bento Ай бұрын
I've always felt confused when it comes to threading, and why Rust is the way it is.With this video I could understand it better. Thanks Sullivan for the lesson, incredible work! <3 Please keep posting videos.
@saiyadrahim1131
@saiyadrahim1131 Ай бұрын
Hi, is there more to this video?