Static dispatch vs dynamic dispatch in Rust, how to dramatically improve performances + Java 21 bonus
Feb 28, 2024 · 4 min read · Before diving deeper, let's understand the key differences between static and dynamic dispatching. When you have a trait (interface for those unfamiliar with rust), you have to put the function signature of what all classes or struct will implement. ...
Join discussion