-
Notifications
You must be signed in to change notification settings - Fork 5.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
[Feature] Span<T> #4400
[Feature] Span<T> #4400
Comments
Current 2.0 Docs are picking up on the obsolete attribute which is causing confusion. https://docs.microsoft.com/en-us/dotnet/api/system.span-1?view=netcore-2.0 |
Thanks @JimBobSquarePants. This seems related to the following issues that we're tracking: @weshaggard I see that the obsolete attribute was added with the addition of the .NET Core 2.1 reference assemblies. Is |
@mairaw See the below link for reasoning behind the obsolete attribute |
cc @VSadov |
I've created a workaround PR to fix the obsolete attribute issue while the true fix is being worked out: |
@mairaw Obsolete attribute blocks the F# compiler for span. |
@cartermp can you look at this previous comment? |
It doesn't affect these docs. When we take a look at proper span support in the F# compiler that particular issue will be addressed. |
Perhaps this is not correct place to rant but there is a tendency to treat C#== .NET. It seems for BCL and runtime changes languages like F# is completely ignored or afterthought. Same things happened with .NET Native, ValueTuple, default interface implementations etc. I just wish things were more lang agnostic. |
Span<T>
This topic will address how to work with Span and related types. Span is a new type we are adding to the platform to represent contiguous regions of arbitrary memory, with performance characteristics on par with T[]. Its APIs are similar to the array, but unlike arrays, it can point to either managed or native memory, or to memory allocated on the stack.
Still Needed:
The text was updated successfully, but these errors were encountered: