-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 9 Unsafe Study #94941
Comments
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsIn .NET 9 we plan to study the use of unsafe constructs within the BCL, to better assess the risks they incur and benefits they provide. The aim of this study is to ensure we are making responsible use of unsafe. The scope and outcome of this study is not yet determined, but may include things like:
Initially we will be gathering data about overall usage (and how it has changed over time) and doing case studies of code that uses unsafe constructs. As the study progresses, we will update this issue to keep track of interim findings, examples, discussions, proposals, and eventually, plans and work items.
|
@AndyAyersMS I know we made some progress on this in 9.0.0. I'm going to move this to 10.0.0 to keep the effort going. |
In .NET 9 we plan to study the use of unsafe constructs within the BCL, to better assess the risks they incur and benefits they provide. The aim of this study is to ensure we are making responsible use of unsafe.
The scope and outcome of this study is not yet determined, but may include things like:
Initially we will be gathering data about overall usage (and how it has changed over time) and doing case studies of code that uses unsafe constructs. As the study progresses, we will update this issue to keep track of interim findings, examples, discussions, proposals, and eventually, plans and work items.
.NET 10 Work
Unsafe.AsPointer
#99144unsafe
contexts (or narrow their scope)Misc:
unsafe
modifier fromMemory<T>.Span
#106085bool
casts #111024AssemblyName.EscapeCodeBase
and removeunsafe
. #111095Unsafe.As
forMemory<T>
andReadOnlyMemory<T>
conversion #111023The text was updated successfully, but these errors were encountered: