News for hackers. Stuff that matters.
Re:Committing to Rust for Kernel Code by conradludgate on Thursday November 23, 2023 @02:16PM (#38396355)
Having a memory safe language in the kernel is very serious. More and more C programmers I speak to say they realise with Rust they will likely never work with C again full time.

Yes Rust helps bring in the next generation of Linux devs. It needs to to survive. But it's not because young people like Rust, it's because C developers like rust too.

Yes, Rust has unsafe and unsafe rust is trickier to get right, but you use it opt in and it's only a small amount if the code. Zig is still having unsoundness bugs in relatively simple code

Re:Committing to Rust for Kernel Code by worik on Thursday November 23, 2023 @02:40PM (#38396643)
> More and more C programmers I speak to say they realise with Rust they will likely never work with C again full time.

Speaking as someone going the other way, just started working with C full time.

Yes. Oh Dog, Yes!

Data structures that rely on the memory layout semantics of the C compiler and casting void * is very cool, very 1990s, and does my head in!

Re:Committing to Rust for Kernel Code by redsaber on Thursday November 23, 2023 @03:18PM (#38397063)
I don't have much experience and I see C as something I would never be able to touch as they seem quite high level for me with the manipulation of memory and stuff.

And from what I see, Rust can sort of make it easier by making you think about the lifetime of the memory while coding and that's why I really wanted to learn Rust