News for hackers. Stuff that matters.
Re:I Don't Use Classes by meheleventyone on Thursday March 12, 2020 @02:09PM (#22559828)
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.
Re:I Don't Use Classes by hashmal on Thursday March 12, 2020 @03:59PM (#22561109)
Static dispatch or monomorphization?
Re:I Don't Use Classes by meheleventyone on Thursday March 12, 2020 @06:02PM (#22562332)
Isn’t using parametric polymorphism to get static dispatch reliant on monomorphization? That’s at least the common case in Rust.