Re:Safer Linux Kernel Modules Using the D Programming Language
by Conscat on Thursday January 05, 2023 @05:50PM
(#34268088)
One big issue with D compared to Rust for performance-oriented code is the lack of move semantics. Rust and C++ idiomatically almost never rely on copy-on-write, whereas D so far has a lot of it. I'm not sure how much this matters for kernel modules, but I imagine that it is something users would consider. I had seen some proposals for move semantics in D, so for all I know this is under works right now.
[ Parent
| on HN ]
Re:Safer Linux Kernel Modules Using the D Programming Language
by destructionator on Thursday January 05, 2023 @05:56PM
(#34268159)
D rarely has copy on write.
It will just plain copy certain types on assignment though so perhaps that's what you meant.