r/linux • u/unixbhaskar • Aug 29 '24
Kernel One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"
https://www.phoronix.com/news/Rust-Linux-Maintainer-Step-Down
1.1k
Upvotes
r/linux • u/unixbhaskar • Aug 29 '24
1
u/erichkeane Aug 29 '24
I really don't have those problems at all. I'm currently a maintainer on the Clang project, so that is where I spend most of my time these days, but I did a networking framework and networking software before that.
Pointer/iterator invalidation is just something I haven't had a problem with in a very long time. Thanks to RAII, I have little/no interaction with pointers mixing with ownership semantics, and iterator invalidation is something that is pretty trivial to avoid.
As far as the RAII model, it isn't the model itself, it was that the inconsistent use of 'drop' in libraries/other people's code(admittedly, about 10 years ago now) meant I couldn't mentally count on destructors doing cleanup.
When writing C++ code, all libraries are expected to do their own clean up(to the point the community would consider it a "bad" library otherwise), so I was mentally able to count on it.
As far as destructive move, it is a good idea too! I expect C++ to have it in the next release or two, we have two competing proposals, one of which has really solid design, that are likely to be decided on/put into the standard soon.