4 ms·
I think that's broadly true but it should at least be pointed out that static dispatch tends to end up inflating binary size and compilation time. Rust also sup
by meheleventyone 7y ago
I think that's broadly true but it should at least be pointed out that static dispatch tends to end up inflating binary size and compilation time. Rust also supports dynamic dispatch so you can make a context dependent choice.
- hashmal 7y agoStatic dispatch or monomorphization?
- meheleventyone 7y agoIsn’t using parametric polymorphism to get static dispatch reliant on monomorphization? That’s at least the common case in Rust.