News Score: Score the News, Sort the News, Rewrite the Headlines

Improving C# Memory Safety - .NET Blog

We’re in the process of significantly improving memory safety in C#. The unsafe keyword is being redesigned to inform callers that they have obligations that must be discharged to maintain safety, documented via a new safety comment style. The keyword will expand from marking pointers to any code that interacts with memory in ways the compiler cannot validate as safe. The compiler will enforce that the unsafe keyword is used to encapsulate unsafe operations. The result is that safety contracts a...

Read more at devblogs.microsoft.com

© News Score  score the news, sort the news, rewrite the headlines