Skip to content

Align with C# Span support / Missing safety for stackallocated types #4288

@realvictorprm

Description

@realvictorprm

F# currently lacks full support for stackallocated types like Span and other types found in the System.Memory package. C# already supports all safety features like disallowing the return of a span type.


This is meant to be a collection of what needs to be done and what's the plan of Microsoft so a future contributor or maybe even me could start implementing this compatibility feature.


I won't discuss why we need this expect telling that we can only benefit from it.

PS: currently on mobile. Will link C# Span details later.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions