On 12/31/13 3:15 PM, György Andrasek wrote:
On 12/31/2013 10:41 PM, Patrick Walton wrote:
Unbounded channels have defined behavior as well. Undefined behavior has
a precise definition and OOM is not undefined behavior.
OOM is not a behavior. It's a DoS attack on the rest of the system.
When we speak of eliminating undefined behavior in Rust, we aren't
speaking of taming code like:
let mut v = ~[];
loop {
v.push(1)
}
Eliminating this hazard simply isn't one of the goals of the language.
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev