|
|
|
|
|
by jcelerier
472 days ago
|
|
> But then again Rust devs are more likely to use static dispatch via generics if performance is critical. I'm not sure I follow - pretty much 99% of usage of C++ in the last, like, 20 years has been around making sure that you get static dispatch with polymorphism through templates. It's exceedingly uncommon to see the `virtual` keyword unless you have, say, some DLL-based run-time plug-in system going on. |
|