Re:Two years of Rust
by webkike on Monday May 15, 2017 @05:23PM
(#14345250)
When ever you would need to box a trait object in Rust Go automatically performs a heap allocation that is garbaged collected at some point.
A bit more is explained here https://research.swtch.com/interfaces
Basically there are some property of Go interfaces that make them far more dynamic than traits and implementations in Rust.
[ Parent
| on HN ]
There are no comments on this comment yet.