3 ms·
"Undefined behavior" is not a bug. It's something that isn't specified by an ISO standard. Rust code is 100 percent undefined behavior because Rust doesn't hav
by otabdeveloper4 2y ago
"Undefined behavior" is not a bug. It's something that isn't specified by an ISO standard.
Rust code is 100 percent undefined behavior because Rust doesn't have an ISO standard. So, theoretically some alternative Rust compiler implementation could blow up your computer or steal your bitcoins. There's no ISO standard to forbid them from doing so.
(You see where I'm going with this? Standards are good, but they're a legal construct, not an algorithm.)
- notfed 2y ago> "Undefined behavior" is not a bug. It's something that isn't specified by an ISO standard. An ISO standard? According to who, ISO?
- otabdeveloper4 2y agoYeah, legal constructs are not actually real and are based on circular logic. (And not just in software, that's a property of legal constructs in general.) Your point is what?