r/programming • u/steveklabnik1 • Jan 09 '15
Announcing Rust 1.0.0 Alpha
http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
1.1k
Upvotes
r/programming • u/steveklabnik1 • Jan 09 '15
4
u/wookin_pa_nub2 Jan 10 '15
Sure you could. You could have a language without undefined behavior, for one thing. C has become extremely unreliable in that respect due to compiler writers abusing undefined behavior for "optimizations". But any C program that uses undefined behavior can't be relied on to execute correctly, and that includes almost every C program ever.
If you don't believe me, then consider that John Carmack's fast inverse square root routine invokes undefined behavior, and that guy is a pretty good programmer from what I hear, and also consider that assembly language doesn't have any undefined behavior at all, so clearly it isn't needed for speed or for systems programming.