Skip to content

Add Notes on Pointers? #2

@kkukshtel

Description

@kkukshtel

Hello! Great repo and think it's a great reference for lower-level memory management in C#.

One thing I would love to see though is some mention of pointers, primarily for interop use cases. Things like Span are great, but the type is still managed so the pointer to a Span isn't stable for interop use.

I wrote a blog post on some of these ideas, in part because it didn't feel like people were really talking about real interop usecases around this, and the other big note that things like Span on really work in locally scoped functions.

Basically, I think this repo is a great resource, and would love to read all that you know on how these new Memory types work for use cases outside of method scope + interop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions