by kelafoja · 1y ago · 0 comments
This is somewhat of a stretch: dyn Traits in Rust are sort of like compile time duck typing. OTOH, interfaces in Go and virtual functions in C++ are the same thing.
(Though you can emulate them with unsafe in Rust, like anyhow)