Oddbean new post about | logout
 [$] Smart pointers for the kernel


Rust has a plethora of smart-pointer types, including reference-counted
pointers, which have special support in the compiler to make them
easier to use. The Rust-for-Linux project would like to reap those same benefits
for its smart pointers, which need to be written by hand to conform to
the
<a href="https://lwn.net/Articles/718628/" rel="nofollow">
Linux kernel
memory model</a>. Xiangfei Ding
presented at Kangrejos about the work to enable custom
smart pointers to function the same as built-in smart pointers.


https://lwn.net/Articles/992055/