Re: Rust kernel policy

From: Askar Safin
Date: Thu Feb 20 2025 - 06:29:16 EST


> As far as I understand, Rust-style memory safety is being worked on for C++

Yes, there is PoC called "Safe C++" [1]. And it is already implemented in Circle C++ compiler.
You can see at the link how Safe C++ looks like. But it seems that this proposal will not be
accepted to standard, so if we choose this path, our code will not be written in standard C++.

As you can see, Safe C++ is much different from normal C or C++. So if we choose Safe C++, whole
kernel should be rewritten. (But I personally will totally love if some company spends billions of
dollars for such rewritting.)

[1]: https://safecpp.org/draft.html