🛡️ Microsoft wants safer C# without turning it into Rust

「 The idea is not to make unsafe code less dangerous, but rather to make it more visible and easier to review. This extends to safety documentation, via a comment on an unsafe member that defines a contract for its use, which will be encouraged by static code analyzers 」
https://www.theregister.com/devops/2026/05/26/microsoft-wants-safer-c-without-turning-it-into-rust/5246359

#csharp #rust #plt

Microsoft wants safer C# without turning it into Rust

Unsafe bits get a warning label in planned low-level coding shake-up

theregister