On Fri, Nov 08, 2013 at 04:47:24PM +0100, Diggory Hardy wrote: > What's wrong with sticking with convention here? E.g. C++'s `string` and > `vector<T>` are objects containing two or three pointers. D's arrays and > `string` act the same way. Even C's dynamic arrays (`int x[]`) can be thought > of the same way (if one avoids thinking of them as pointers).
This question got me thinking. I wrote up a blog post exploring it: http://smallcultfollowing.com/babysteps/blog/2013/11/14/treating-vectors-like-any-other-container/ The takeaway for me right now is sort of "Yes, we could do it that way. It makes some things simpler but a number of other features harder, some of which we really have to figure out how to resolve." regards, Niko _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
