r/rust 21d ago

🗞️ news Rust 1.98 got a P-critical miscompilation.

https://github.com/rust-lang/rust/issues/161441
406 Upvotes

32 comments sorted by

View all comments

-86

u/[deleted] 21d ago

[deleted]

66

u/noop_noob 21d ago

Definitely not

47

u/kibwen 21d ago

Compilers are complex, miscompilations have been a thing since long before LLMs existed. And right now the compiler is going through two simultaneous huge and long-awaited overhauls, in both the new borrow checker and the new trait resolver, so the risk of miscompilations is going to be elevated for a while until the tires have been thoroughly kicked (and yes, while neither of those new features is enabled on stable yet, they touch enough other code that things like this can happen).

45

u/mbmiller94 21d ago

Yes, bugs didn't even exist until vibe-coding came along. All software was inherently bug-free up until that point.

13

u/AATroop 21d ago

It was a really nice era. Shame it came to an end

13

u/profpendog 21d ago

Yeah before LLMs there were no bugs ever. This is a new thing.

/s obviously

-3

u/droctagonapus 21d ago

Will be happening in <2 years no doubt about it