News for hackers. Stuff that matters.
Re:C Is Best by kibwen on Tuesday January 06, 2026 @11:47AM (#46514722)
> If Rust can't handle that safely (not Rust "safe", but safely), it isn't appropriate for the job.

Rust is no less safe at C interop than using C directly.

Re:C Is Best by hirvi74 on Tuesday January 06, 2026 @01:55PM (#46516791)
(Not the user you were replying to)

If Rust is no less safe than C in such a regard, then what benefit is Rust providing that C could not? I am genuinely curious because OS development is not my forte. I assume the justification to implement Rust must be contingent on more than Rust just being 'newer = better', right?

Re:C Is Best by gf000 on Tuesday January 06, 2026 @03:31PM (#46518228)
It's not less safe in C interop. It is significantly safer at everything else.
Re:C Is Best by smj-edison on Tuesday January 06, 2026 @07:14PM (#46520820)
As long as you keep C pointers as pointers. The mutable aliasing rules can bite you though.