"The results are undefined. That means the compiler is free to do anything, like emailing your boss about this transgression."
Related Posts
The word "agent" is so overloaded in the AI space.
Sometimes it means a sophisticated interaction system, but other times it just means API.
I think it's partly a sign of how new the space is. We don't have consensus on the best way to use these systems yet.
C++ no longer considers trivial infinite loops to be undefined behaviour! https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2809r3.html
Spotted in the release notes for the latest clang.
I would have thought that invoking a C compiler would be a solved problem. Looking at Rust's cc crate there's a remarkable long tail of corner cases to fix.
Exotic CPUs, microarchitectures, compiler differences, operating system differences, etc.
https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md