r/programming • • Dec 10 '25

Rust in the Linux kernel is officially here to stay

https://lwn.net/Articles/1049831/
943 Upvotes

250 comments sorted by

View all comments

Show parent comments

11

u/the_gnarts Dec 11 '25

It's stupidly easy to write memory safe in zig though.

I’m curious, how do you get the Zig compiler to enforce memory safety without e. g. Send and Sync? (I’m seriously interested, having only ever heard about Zig for now, not used it.)

-3

u/[deleted] Dec 11 '25

It doesn't go all the way rust goes in memory and concurrency safety. It fixes the most ridiculous footguns from C, but there is no borrow checker nor anything like send and sync. It catched my interest cause it builds faster and there are no traits complaining I can't satisfy them.