Hacker News new | ask | show | jobs
by kibwen 375 days ago
> Rust ran into places where they're like "infinite loop please" and LLVM says "Aha, C++ says those never happen, optimising accordingly" but er... that's the wrong language

Worth mentioning that LLVM 12 added first-class support for infinite loops without guaranteed forward progress, allowing this to be fixed: https://github.com/rust-lang/rust/issues/28728

1 comments

For some context, 12 was released in April 2021. LLVM is now on 20 -- the versions have really accelerated in recent years.
At least it's not just clownish version acceleration. They decided they wanted versions to increase faster somewhere around 2017-2018 (4.xx), and the version increase is more or less linear before and after that time, just at different slopes.
And it's now a yearly major release, is it not?

Same as with GCC

I can't say I'm happy with "yearly broken backward compatibility," but at least it's predictable.
Looks like two major versions per year for LLVM.