News for hackers. Stuff that matters.
Re:Upcoming Rust language features for kernel development by j-krieger on Thursday October 16, 2025 @10:58AM (#45606197)
> aren't they just annotations? proper use of mutexes and lock ordering aren't that hard, they just require a little bit of discipline and consistency.

No, they are not. You also don't need mutex ordering as much since Mutexes in Rust are a container type. You can only get ahold of the inside value as a reference when calling the lock method.

Re:Upcoming Rust language features for kernel development by loeg on Thursday October 16, 2025 @01:30PM (#45608206)
> You also don't need mutex ordering as much since Mutexes in Rust are a container type. You can only get ahold of the inside value as a reference when calling the lock method.

Mutex as a container has no bearing on lock ordering problems (deadlock).