News for hackers. Stuff that matters.
Re:Rust things I miss in C by masklinn on Monday February 19, 2018 @09:27AM (#16413036)
There kinda can in the sense that you could just make every function `unsafe`, but that's a bit of a giant blinking red flag.
Re:Rust things I miss in C by internetionals on Monday February 19, 2018 @09:53AM (#16413169)
And even then it will warn in many situations. Unsafe does not suddenly make everything okay, it only allows 3 specific things that are otherwise not allowed.
Re:Rust things I miss in C by masklinn on Monday February 19, 2018 @10:03AM (#16413252)
Yes, but through these it does let you break the language by creating invalid values (and thus trigger wide-ranging UBs).