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

More elegant bindings generation #153

Open
sbihel opened this issue Apr 23, 2021 · 0 comments
Open

More elegant bindings generation #153

sbihel opened this issue Apr 23, 2021 · 0 comments
Labels
developer experience Make nicer and easier to use for developers enhancement New feature or request

Comments

@sbihel
Copy link
Member

sbihel commented Apr 23, 2021

I see two limitations with the way we generate language bindings:

  • we write them manually and need to update them manually, when they're basically all the same (arguably, you can also say each has specific subtleties like the error handling in C bindings); and
  • we constraint the benefits of type systems by only passing around strings.

A possibly useful project could be https://mozilla.github.io/uniffi-rs/, or write custom macros/attributes inspired by a project like Diesel.

@clehner clehner added enhancement New feature or request developer experience Make nicer and easier to use for developers labels Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer experience Make nicer and easier to use for developers enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants