On 22/04/2013 5:54 AM, Huon Wilson wrote:
I'm asking because there is quite a few occurrences of these patterns through out the rust repo so there is quite probably something non-obvious about them.
Pure legacy code from when we had no better solutions for abstraction. The older the code in stdlibs, the more likely it doesn't use traits at all, and/or uses @-boxed objects or similar slower abstractions.
Patches to fix all this stuff very much welcome. It's on our list! -Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
