Hacker News new | ask | show | jobs
by jupp0r 3274 days ago
None exist in (safe) Rust.
1 comments

Sometimes you hit undefined behavior in LLVM when compiling safe Rust, but that is considered a bug in the compiler. https://github.com/rust-lang/rust/issues/10184
By the same logic, you could do something in C that isn't considered undefined behavior but acts in an undefined way when compiled with Clang