News for hackers. Stuff that matters.
Re:Next steps for Rust in the kernel by oxplot on Thursday September 22, 2022 @02:43AM (#32935500)
For those with better understanding of where zig is at, why not zig for kernel development? Is it merely because it's still in heavy dev?
Re:Next steps for Rust in the kernel by mlindner on Thursday September 22, 2022 @03:19AM (#32935691)
I think the answer to your question is also the answer to the question of how Zig achieves memory safety at compile time.
Re:Next steps for Rust in the kernel by Jensson on Thursday September 22, 2022 @04:20AM (#32936148)
Yeah, Rust is C with a sane version of C++'s RAI, Zig is C with a sane version of C++'s templates. Having Turing complete duck typed template metaprogramming is very fun and useful, but I understand why you wouldn't want that in huge security critical codebases.