On 03/04/14 07:39 AM, Niko Matsakis wrote:
> On Wed, Apr 02, 2014 at 09:21:56PM -0400, Daniel Micay wrote:
>> ...A distinct `~[T]` and `Vec<T>` will make the language more
>> painful to use...
> 
> This is precisely the matter of debate, isn't it? I personally see two
> sides to this, which is why I was suggesting that maybe we should wait
> until we can gain a bit more experience before making a final decision
> here.

I don't think there's much doubt that it will add conversions between
the two to Rust code, requiring more code to get stuff done. It won't
improve either safety or performance to be using it in the library API
boundaries. It may aid in writing correct code by catching programmer
errors, but there has yet to be someone arguing that this is the case
with compelling examples.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to