Hacker News new | ask | show | jobs
by vkaku 2423 days ago
Okay, can someone give an explanation for why Rust does not mimic the -O fast behavior? Is this something they plan to add?
1 comments

It leads to undefined behavior in safe code in the general case.

We may add a wrapping type, similar to what we do for integer behavior. But in general, adding flags to change major behavior is not something we do.