4 ms·
I am not sure what does this article achieve except cite other people's opinions on using or not using RAII (and a few other mechanisms). It even admits that u
by pdimitar 2y ago
I am not sure what does this article achieve except cite other people's opinions on using or not using RAII (and a few other mechanisms).
It even admits that using arena allocator in Rust would address most (if not all) of their reservations towards RAII. And mentioning that there are badly written programs out there that take a while to shut down is, while informative in terms of an anecdote, is at the same time not at all a firm evidence the same will happen in the kernel.
I mean, it's the kernel, and the uttermost attention should be given to any potential performance or stability concerns -- of course!
But it does not seem like the people against it are willing to gather data. Which again puts the Rust devs on the backfoot. Seems like constant impeding akin to a bureaucratic structure that knows that you'll eventually get what you came for but they'll put every obstacle possible on your path first. :(
But overall, the article ended just when I expected it to get a bit more serious and data-oriented. Or at least give little more than opinions / feelings about the contention point.