Hacker News new | ask | show | jobs
by tialaramex 433 days ago
There has been a nasty habit of the LLVM people treating their IR as "Yeah, but we all know it's basically C++ right?" as if there weren't any other consumers except Clang. The semantics claimed for that loop IR said it can go infinite, the reality was that it has the (at the time) no infinite loops C++ semantics instead.

The doubly funny thing is that some C++ people don't want those either, and so the ISO document will be updated to say actually C++ does have infinite loops because programmers want that. It just won't have an elegant way to express it like Rust.