jonhoo / jonhoo/rust-for-rustaceans.com
Elaborating on why `Waker` has a vtable
Open
- Dominant language
- CSS
- Stars
- 171
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
On page 134 it is mentioned that a `Waker` has a manually implemented vtable (which functions similarly to the dynamic dispatch). I think a paragraph or an info box elaborating on why `Waker` has a vtable would be a beneficial addition to the book. With my limited knowledge I fail to see why a vtable is needed. Is static dispatch not possible?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.