If you want sharp scissors, use unsafe indexing. You generally don't need
it everywhere, just in your inner loop.

Profile, then optimize. Rust gives you the tools needed to optimize where
things get hot, but we also like safety by default.

  - Clark


On Thu, Mar 27, 2014 at 10:31 PM, Tommi Tissari <[email protected]>wrote:

> On 28 Mar 2014, at 03:41, Jeffery Olson <[email protected]> wrote:
>
> forces a decision which the programmer should be allowed to make for
>> himself. A bit like someone dictating my hair style.
>
>
> Yes. Rust is just like hair salon that forbids you from setting your own
> hair on fire.
>
>
> I rather feel like Rust lets me use only dull scissors so that I don't
> accidentally cut myself.
>
>
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
>


-- 
Clark.

Key ID     : 0x78099922
Fingerprint: B292 493C 51AE F3AB D016  DD04 E5E3 C36F 5534 F907
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to