|
|
|
|
|
by twic
1881 days ago
|
|
I've heard "monomorphisation" to refer to something a compiler does, but not something a programmer does. I think this is just "repetition"! The need for something to solve the problems inheritance solves has been known in Rust for a long time. Mostly it's been motivated by the need to implement the HTML DOM, which is fundamentally an inheritance hierarchy, in Servo. There's a longstanding RFC about it: https://github.com/rust-lang/rfcs/issues/349 Inheritance is one possible solution. There are others. |
|
Another issue I have with it is perfectly described in this article: https://theta.eu.org/2021/03/08/async-rust-2.html