Crust of Rust: Dispatch and Fat Pointers
Video Statistics and Information
Channel: Jon Gjengset
Views: 25,946
Rating: 4.9732442 out of 5
Keywords: rust, live-coding, vtable, dynamic dispatch, monomorphization, fat pointer, static dispatch, generics
Id: xcygqF5LVmM
Channel Id: undefined
Length: 132min 52sec (7972 seconds)
Published: Fri Apr 30 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Watching all Jon Gjengset videos > watching the LOTR Extended Edition.
This guy is an absolute legend. How awesome is it to live in a time where you can have free full masterclasses on Rust from a PhD of MIT.
Wow, great video. This guy is super clear in his explanations.
Do we know what amazing vim setup he's using? Thanks!
awesome video man!
I'm still bound to Go due to past decisions and this video definitely made me regret that even more. :)
At the end of the video, when asked about the difference between
dyn Fn
andfn
, you mentioned that thefn
cannot be a closure. That's not completely true, a non-capturing closure is also anfn
. You could pass the closure|| println!("Hello world!")
to yourbar
function.Lol what an intro!
Saving this for later.
I don't understand why the "static method"
fn weird() {}
couldn't be in the vtable but just be called without passing in the receiver half of the fat pointer.s.vtable.weird()
seems fine to me?Thanks for posting the new video u/jonhoo! I'm still watching the video, but from the table of contents it doesn't seem to go into polymorphization. There is still little to be found on this topic, might it be an idea for a next deep-dive topic about monomorphization and polymorphization? :) Thanks again!
Super cool video. I love the "machine code" level explanation with fat pointers.
Does anyone know what browser setup he's using? How do I put the title and URL bars on the bottom, and how do I do it on Firefox?