forums.swift.org/t/pitch-asynchronous-access-to-pointers-of-spans/91016

[Pitch] Asynchronous access to pointers of spans

A Swift proposal pitches async variants of pointer-providing methods on Span types so a pointer into span memory can remain valid across suspension points. It covers typed and raw pointer closures for the Span, MutableSpan, OutputSpan and RawSpan families, aimed at wrappers for completion-based APIs that use buffers after a call returns.


No comments yet

Be the first to share your thoughts.