Skip to content
0:00 / 0:00

#staticdispatch#dynamicdispatch#generics

Dynamic vs Static Dispatch in Rust

Ryan Levick

14K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Ryan Levick

Intermediate. Assumes working knowledge.

24K views5 years ago2 recommendations

Programming languagesSystems programmingRustCompilers and interpretersPerformance and optimization

Ryan Levick explores the differences, trade-offs, and assembly-level details of static and dynamic dispatch in Rust.

In this stream, we explore dynamic vs static dispatch - a concept you don't normally have to worry about in other languages, but something that Rust requires you to distinguish. And for good reason! We talk about when to use one or the other, what the different trade offs are, and finally, we dive into the assembly to see what is actually happening when you use one vs. the other. Make sure to like and subscribe! Twitter: twitter.com/ryan_levick

Why it's here

2 people recommend this

What people say. Recommended as an excellent, deep-dive explanation of static versus dynamic dispatch in Rust.

u/shreyash__in r/rust • Recommends

On “What are some topics in rust that deserve more coverage on youtube?”

This link to this video on static vs dynamic dispatch by Ryan Levick is _chef's kiss_.

u/realvikasin r/rust • Recommends

On “Is dyn redundant?”

Ryan posted a stream about static and dynamic dispatch. I hope this will help you to understand this deeply. link to this video