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.
[ Parent
| on HN ]
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.