Settings

Theme

Improving C# Memory Safety

devblogs.microsoft.com

70 points by soheilpro 2 days ago · 4 comments

Reader

pjmlp 2 days ago

Most likely a side effect related to Windows team finally giving some C# love, instead of COM and C++, given the comparisons between C# 16 with Rust and Swift in a few article sections.

  • moomin 2 hours ago

    The Windows team is talking to DevDiv again? Satan's putting on his ice skates right now.

    • pjmlp an hour ago

      One can only hope.

      C++/WinRT is in maintenance, and you will notice the WinUI 3.0 does most of their demos, and gallery with C#.

superjan 2 hours ago

What you can do in C# today is convert any unsafe pointer to Span whenever you get your hands on it, and pass around slices. You can still drop down to ‘fixed’ when it turns out you need it for performance.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection