|
|
Subscribe / Log in / New account

Rust 1.77.0 released

Rust 1.77.0 released

Posted Mar 23, 2024 13:10 UTC (Sat) by intelfx (subscriber, #130118)
In reply to: Rust 1.77.0 released by geofft
Parent article: Rust 1.77.0 released

Thank you! That was a fun rabbit hole — and, incidentally, the first time I saw a "theoretical" UB — like creating a zeroed reference, or taking a reference to uninitialized memory, without reading from it — actually causing crashes (e.g. that memoffset crate used to trap on ARM).


to post comments

Rust 1.77.0 released

Posted Mar 25, 2024 2:28 UTC (Mon) by NYKevin (subscriber, #129325) [Link]

I would tend to imagine there are probably situations where you can persuade CHERI or Itanium to fault on "theoretical" UB, but you might need the optimizer's help to get over the finish line (at which point it's really a function of how creative your optimizer is, rather than a function of the architecture per se).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds