Re:Microsoft is to enable Rust use for Windows 11 kernel
by masklinn on Friday April 28, 2023 @12:11PM
(#35743260)
Well yes for starters this is not an optional check and it’s not on just “bug-prone” moves it’s on all for them.
Then it also has a borrow checker so if you refer to the content of an other object the langage ensures the (non-owning) pointer does not outlive the pointee, at compile-time. Though this concept is lexical so it’s quite restrictive.
And then it encodes some forms of thread-safety in the langage directly.
Then it also has a borrow checker so if you refer to the content of an other object the langage ensures the (non-owning) pointer does not outlive the pointee, at compile-time. Though this concept is lexical so it’s quite restrictive.
And then it encodes some forms of thread-safety in the langage directly.
It also removes things like nullable pointers.