4 ms·
The confusing part of this article is the argument that the kernel maintainers are strongly against RAII. While I guess it’s possible Asahi Lina is unaware of t
by actuallyalys 2y ago
The confusing part of this article is the argument that the kernel maintainers are strongly against RAII. While I guess it’s possible Asahi Lina is unaware of this or is stubbornly including it anyway because she believes it’s such a large benefit, it seems more likely that it isn’t actually the dealbreaker.
In fairness, I’m hardly an expert on C++, Rust, or kernel development, so it’s possible that I’m missing something.
- MuffinFlavored 2y ago> it seems more likely that it isn’t actually the dealbreaker. What is the dealbreaker then?
- actuallyalys 2y agoI’m not sure. One point I agree with the author is that it’s a complicated situation likely involving both social and technical factors.
- sunshowers 2y agoI think C++ drags a lot of bad stuff in with the good, and it is reasonable to be skeptical of it. For example, I think it was bordering on malpractice for lambdas to ship without anything resembling a borrow checker in place. With lambdas that borrow from the stack, introducing memory safety bugs is shockingly trivial. Even if your codebase bans lambdas in C++, it's quite reasonable to not fully trust the teams which made the decision to ship them.