On 21/09/14 16:27 -0400, Evan G wrote:
Personally, I feel "safety" generalizes pretty well to "any concept
that should be called out explicitly as unsafe"--not just memory
safety.


You can feel that all you want, but memory safety is reasonably
straightforward to define in a general context, whereas eg, unsafe string
interpolation of strings for a SQL query is not really the domain of the
compiler itself (rather, a problem for the type system).

See Go's html library for a bunch of hilarity when this goes sideways,
particularly some of the debate around comment handling.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to