Le 27/03/2025 à 18:14, Raphael Taylor-Davies a écrit :
It's obviously preferrable to be zero-copy but it's certainly not
mandatory, especially as the data being shared is assumed to be
read-only in most use cases.
In which case we should probably remove the comment about alignment from
the C interface specification, and highlight that implementations may
copy when needed. When I have suggested this in the past I have gotten
push back, implying at least some contingent beyond myself feels FFI
should be zero-copy.
Can you submit a PR so that we can discuss concrete wording changes?
Regards
Antoine.