Hacker News new | ask | show | jobs
by steveklabnik 429 days ago
It really depends on what kind of axis you’re talking about. Under the hood, Go’s interfaces and Rust’s “dyn types” (the new nomenclature for trait objects) are the same, and C++’s virtual functions are different.

(Though you can emulate them with unsafe in Rust, like anyhow)