GitHub user gatesn edited a discussion: Cross-language FFI

Apologies if this has been discussed before, I’m not quite sure on the keywords 
to search for here.

The workflow I’m looking for is:
1. User creates an OpenDAL client in Python using the Python API. 
2. User passes this client to some other Python library written in Rust using 
PyO3.
3. The library written in PyO3/Rust can make use of the client configured using 
the regular Python API.

In other words, similar to Apache Arrow’s export_to_c / import_from_c where the 
pointer passed around has a stable ABI.

I think this would really help boost adoption of OpenDAL. It would allow an 
OpenDAL client configured by some project to be used by plugins / other 
projects and make OpenDAL a performant but pluggable I/O layer.

---
**Mailing list thread:** 
https://lists.apache.org/thread/kso30lyp4sltmm5f2nnhtfyr7tcoqpv3


GitHub link: https://github.com/apache/opendal/discussions/7103

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to