|
|
Log in / Subscribe / Register

Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

Posted Mar 22, 2022 9:21 UTC (Tue) by roc (subscriber, #30627)
In reply to: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul by NYKevin
Parent article: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul

'restrict' seems like a nightmare in practice. You'll need a whole new sanitizer to detect restrict violations, and you'll still have restrict violations in untested code paths. Violations of 'restrict' will be painful to track down.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


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