News for hackers. Stuff that matters.
Re:Smart pointers for the kernel by Ar-Curunir on Friday October 18, 2024 @03:54AM (#41877228)
my comment (and indeed in this entire comment chain) is within the context of memory safety. This should have been clear because of the focus on unsafe, which, compared to normal Rust, relaxes only memory safety.

Obviously if you want to get formal guarantees beyond that property, you have to reason about safe code also.

(Also, the comparison in this entire chain is against C, and the latter is better than Rust in this regard… how?)

Re:Smart pointers for the kernel by uecker on Friday October 18, 2024 @04:48AM (#41877502)
Yes, this discussion is about memory safety, but this does not invalidate my argument. There is no point in only auditing your code with respect to memory safety, so the argument that you can simply ignore everything outside "unsafe" blocks is simply wrong.
Re:Smart pointers for the kernel by Ar-Curunir on Friday October 18, 2024 @06:46PM (#41884176)
You can’t expect to hop in the middle of an ongoing discussion, ignore the context of that discussion, and then hope to be taken seriously.