CurtHagenlocher commented on issue #38086:
URL: https://github.com/apache/arrow/issues/38086#issuecomment-2016541810

   We can't chop the buffers up into a collection of smaller buffers without 
losing in-memory interoperability via the C API. I think to make this work, we 
would need to have implementations of `LargeMemory<T>`, 
`LargeReadOnlyMemory<T>`, `LargeSpan<T>`, `LargeReadOnlySpan<T>`, 
`LargeMemoryManager<T>` and `ILargeMemoryManager<T>` which could be used to 
wrap native allocations and allow safe managed access to it. As I suggested in 
https://github.com/dotnet/runtime/issues/12221, nothing stops us from defining 
these types in the C# Arrow implementation itself, though having them in the 
standard runtime is probably better for code sharing and reuse.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to