I genuinely think this video should be included in The Rust Book. It is an absolutely incredible resource. Thank you Sreekanth!!! This is amazing.
@Andy010107 ай бұрын
Agree 100%
@yogeshshahi7 күн бұрын
one more aggreement
@arlaxia6 күн бұрын
This video was exactly what I needed to understand Rust's memory layout better! One thing that was specially helpful was the trait objects part. I had never understood at all what was happening behind the scenes with that, but now I have a better idea.
@0runny Жыл бұрын
This is an excellent video! It really helps you understand the WHY's of different memory management techniques in Rust. Many Rust videos explain how to do things, but very few explain why to do things. This video is a must watch if you really want to understand Rust under the covers. Well done!
@turun_ambartanen Жыл бұрын
Thank you for uploading with better audio. I could not stand the voice of the other version, but this one is alright to listen to. Great video!
@psychechip10 ай бұрын
Thank you for your work. This video clarified many questions I had about memory alignment and helped me to understand how Rust is able to perform some optimizations, such as using a single usize for storing an Optional RC and Box. Keep up the good work!
@PrinceKumar-u4k4y4 ай бұрын
This video should be part of "The Rust Book". This really explains why rust has so many data types. We need more rust videos. Thank You Sreekanth 👏👏
@aimericsorindev25311 ай бұрын
Thank you for your work, this is I think the best video I've seen about this subject and the first time I clearly understand the memory management in Rust. Clearly a video all people learning rust should watch. Really nice explanations on why things work like this and not just how. If you could do a video about async rust / Tokio that would be awesome !
@laplacedoge9 ай бұрын
This video should be seen by more people!
@zubiarfan Жыл бұрын
Thank you so much for reuploading
@Gruby7C1h Жыл бұрын
Thanks for updating the audio!
@returncode00008 ай бұрын
This is the best rust explanation video in the world. I would give anything if there also is an in-depth look at the concepts of functional programming in rust explained like in this video because those concepts are crucial to understand rust and I'm still struggling to understand them.
@denjiuzumaki43096 ай бұрын
this video is just amazing!!!
@korigamik Жыл бұрын
This is cool. Can you tell us what you used for animating these graphics and the text? Also what audio generator is used here?
@sreekanthpr Жыл бұрын
- For this one, I used powerpoint to generate the video. For all other videos in this channel, I use github.com/ManimCommunity/manim. - Audio is generated with TTS service in Azure. Combined both with Davinci Resolve. - Subtitles with timings can be generated with github.com/m1guelpf/auto-subtitle (minor corrections will be needed).
@jcollins5197 ай бұрын
Fantastic content. Nothing fancy, just straight to the point.
@clintondannolfo7149 ай бұрын
Incredible video, thank you very much!!
@kaansouth87898 ай бұрын
This was INSANELY helpful. Thank you so much! 🙏🙏🙏
@muizzsiddique11 ай бұрын
Better yet, do you have a written version of this with embedded images of the diagrams in this video? -This is quite informative, but the generated voice's intonation is making it difficult to pay attention or process the information given.-
@sreekanthpr11 ай бұрын
Most of this is covered in the book "Programming Rust"
@muizzsiddique11 ай бұрын
@@sreekanthpr Thank you!
@HereIsZane5 ай бұрын
Amazing content, please do more rust themed deep dives
@xgallomx3 ай бұрын
Please do this extended explanation also for containers such as deque hashmap btreemap etc. Thank you for effort put in this video.
@pmmeurcatpicsАй бұрын
I can recommend Jon Gjengset's Crust of Rust about collections for that. It's available here on KZbin
@crftr-com7 ай бұрын
The first 20 minutes is valuable to anyone who writes software in any language. Love this!
@VikramBhaskaran5 ай бұрын
Personally I find this video extremely valuable @Sreekanth not just for Rust for compiled languages internals. Question I have what is the font used ? It looks like Jetbrains Mono but with some font ligatures turned on. Not sure what are the values
@sreekanthpr5 ай бұрын
I use github.com/be5invis/Iosevka
@juliansteden2980 Жыл бұрын
Wow, thanks a lot! This is very well done! Great visualizations and explanations 😊
@ItsMorze Жыл бұрын
very good video! first time I really understood how stuff works behind the scenes! especially with rust enums - I didn't know it's like a union maybe do a follow up video on interior mutability, that'll be really interesting!
@mrshodz3 ай бұрын
Great explanation.
@sdbg2 ай бұрын
An amazing video....
@sdbg2 ай бұрын
What a genius this man is...Where did you learn so much thing?
@NimaqAlizadeh8 ай бұрын
very very helped me. thanks a lot🎉🎉
@jubiaj26723 ай бұрын
This was great
@OzWannabe5 ай бұрын
Excellent video. I just wish animation of the stack to show chunks of memory allocated like a stack (one on top of the other) and freed the same way. I find it more intuitive.
@longpos22210 ай бұрын
Thank you so much bro.
@matthewdillingham4941 Жыл бұрын
Reupload with different automated voice?
@sreekanthpr Жыл бұрын
Yea. I feel this audio is better compared to the one in the first video.
@MrHirenP Жыл бұрын
What’s the reason you don’t narrate it yourself?
@emionyt Жыл бұрын
@@sreekanthpr I agree, this voice is way less noisy and more natural
@chriswilliamson4693 Жыл бұрын
@@MrHirenP I would also like to know
@ChainOfCommand12 Жыл бұрын
@@MrHirenP maybe he has health issues, maybe he's insecure, maybe his english pronunciation isn't good. doesn't matter, he's posting excellent content
@p0n-pompf25 күн бұрын
sbrk is not a syscall
@jkjoker7775 ай бұрын
i love this video so much do you have sources for this material?
@Илья-п4м3щ Жыл бұрын
35:10 probably not true, because the same example not compiles, if use something meaningful like println, not drop upd. i mistaken, seems like thats because of using println
@MuscleTeamOfficial5 ай бұрын
subbed 4 this 1
@dagoberttrump92908 ай бұрын
i don't understand why can't slices be allocated on the stack? in c++ they do and i think it's the same in rust also are sou sure that enums store index for each element? in c++ variants only the index of the alternative is stored which is enough to denote the type of the underlying union.
@focker00004 ай бұрын
around 11:00 isn't it a move instead of copy?
@sdbg2 ай бұрын
it’s a copy in memory level. Move is a compile level thing.
@sandrokavlashvili86175 ай бұрын
Is this presentation available anywhere?
@yapayzeka10 ай бұрын
autoread got just promoted to the next level lol
@yapayzeka4 ай бұрын
26:00 very important gotcha!
@rsalmei8 ай бұрын
Actually, at 19:10 you've made an incorrect amend. Trait objects are in fact DSTs, that was correct. Remember you can't create an array or slice of trait objects - [dyn Trait] - or receive one as a parameter - fn func(x: dyn Trait) - or use `self` in a Trait method, because each Trait implementation will have a different size. What do have known sizes are owned trait objects - e.g. Box and other smart fat pointers - and references to trait objects - &dyn Trait.
@michah3956 Жыл бұрын
Rust 💟
@prashlovessamosa Жыл бұрын
Your are goat.
@iamworstgamer6 ай бұрын
terminator is teaching us rust.
@ajithmaster1234 Жыл бұрын
Very useful, could you do a video on zig allocators?
@immanuel55132 ай бұрын
but , what's going on, what's your next video about rust ?