News for hackers. Stuff that matters.
Re:Imposing memory security in C [video] by jeffrallen on Thursday February 27, 2025 @03:50PM (#43198366)
I don't see the interest in split_at_mut. I can get the same thing by reslicing in Go. And also the GC will do the job the borrow checker foists off onto the unlucky Rust programmer.

Pfft, whatever. Rusters gonna rust, I guess.

Re:Imposing memory security in C [video] by not2b on Thursday February 27, 2025 @04:48PM (#43198877)
I'm not a Ruster, I've spent my career writing a ton of C++. But I'm interested in Rust as an alternative because it doesn't need GC.

But in this case, it's not just the memory safety I'm interested in, it's the data races. If we have multiple threads but can guarantee that any object either has only read-only references, or one mutable references and no readers, we don't have data race issues.