You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Is it feasible to ask to provide some kind of C API for working with Glazier, so it can be used in other languages?
This would be really helpful for using it in other languages, but I'm not sure how easy would this be.
I'm willing to potentially put time into this, given acceptance and proper guidance for this proposal.
The text was updated successfully, but these errors were encountered:
I haven't thought about this deeply, but I imagine C ABI being too restrictive of a propety for Glazier proper. However it should be possible to write a shim layer (in Rust) that provides a C ABI. Some ownership bookkeeping might be required.
@xStrom
Would the said shim layer exist with the code of Glazier or would it have to be a separate library?
Do you have a very small code example or a repo of similar effort to show what it would look like?
It could live in either place, I think. I have a small library with a C api defined here if you want an idea of what it could look like. It that case, it is defined together with the rust library, using feature flags to enable or disable it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it feasible to ask to provide some kind of C API for working with Glazier, so it can be used in other languages?
This would be really helpful for using it in other languages, but I'm not sure how easy would this be.
I'm willing to potentially put time into this, given acceptance and proper guidance for this proposal.
The text was updated successfully, but these errors were encountered: