News for hackers. Stuff that matters.
Re:Safer Linux Kernel Modules Using the D Programming Language by destructionator on Thursday January 05, 2023 @04:22PM (#34266787)
D is realistically somewhere in a middle ground between C and Rust for kernel work. It leans more toward familiarity for C programmers with some added safety checks (indeed, you do lose something by not using a garbage collector, but you can still go a pretty long way without it thanks to auto bounds checks and such) but does not enable as much static checking - nor require as much new learning - as Rust.
Re:Safer Linux Kernel Modules Using the D Programming Language by petre on Friday January 06, 2023 @03:35PM (#34280660)
D is pretty easy to pick up and get productive in, even compared to C. I imagine it's probably harder to use with @nogc and @safe, but it's still a great improvement over C. On the plus side it integrates nicely with C code and libraries.