tustvold commented on issue #7075: URL: https://github.com/apache/arrow-rs/issues/7075#issuecomment-2651558167
Having thought about this a bit more, I think the request is not actually for a stable C FFI for ObjectStore itself, i.e. a C API that can be used to call any Rust implementation of the ObjectStore trait, but rather a Rust ObjectStore implementation that calls through to a C FFI interface to perform its operations. This has some key implications: * The C FFI can be partial / incomplete / lag the full ObjectStore trait - e.g. it could just support basic range requests * The C FFI could be a simple callback based API, as opposed to needing to shim streams/futures/wakers over the FFI boundary * Can support multiple ABI-incompatible interfaces simultaneously allowing for evolution (provided the ObjectStoreShim is told which one) I think this is probably tractable, although definitely not easy, if someone wanted to do work on this -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org