Posts for: #rust

Polymorphism in C++ and Rust: Virtual, Final, and CRTP

In which I teach myself about the performance costs of runtime polymorphism and the alternatives, from simple to arcane.

read more →

Polymorphism in C++ and Rust: type erasure

In which I teach myself C++ type erasure, and discover why Rust's trait system makes most of it unnecessary.

read more →