3 ms·
I mean, they weren't wrong if they meant "safe rust only" - so the title is still kind of correct right?
by capitainenemo 2y ago
I mean, they weren't wrong if they meant "safe rust only" - so the title is still kind of correct right?
- gpm 2y agoWhich suggests the solution of changing the title from "impossible in rust" to "impossible in safe rust".
- bryanlarsen 2y agoThe OP links to a quote where somebody else calls this "impossible in rust". That link makes this a valid title. Clickbaity, like good titles in 2024 are.
- raggi 2y agoNo, this idea that unsafe blocks “are not rust” is wrong. Getting unsafe correct is hard, and so needs to be approached with care and first time buyers would do well to get advice from a friendly neighbor, but it’s a normal solution to some rare (code volume wise) cases. The best practice is to always document the safety constraints and reasoning above the blocks and some crate attestations will not be granted without those.
- Waterluvian 2y agoI love the concept so much. For me it just means “this block lacks a number of guarantees. Review it (and test it if you’re the author) far more carefully.”