Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C API #1529

Open
berceanu opened this issue Sep 25, 2023 · 2 comments
Open

C API #1529

berceanu opened this issue Sep 25, 2023 · 2 comments
Assignees

Comments

@berceanu
Copy link

berceanu commented Sep 25, 2023

Just food for thought, but I am thinking if it would make sense to have a lower level C API for openPMD, that could be easily used from other languages.

One example of a C++ library that does this very nicely is DuckDB which can be interfaced from Python, R, Java, Julia, Swift etc.

I guess Fortran can also use such an API.

@franzpoeschel
Copy link
Contributor

Relevant discussion for this: #625

There is (AFAIK) currently no work planned on this, but (similar to the Julia bindings currently being integrated), we are open to contributions on this. I recognize the value of C bindings through C's good FFI support, as a basis for easily building bindings / custom interfaces for programming languages that are not directly supported by this library.

@berceanu
Copy link
Author

Also relevant: #1537 and #1025 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants