-
Notifications
You must be signed in to change notification settings - Fork 174
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
IDL approach #2
Comments
Related: http://bit.ly/omnicu-cross-lang-design My experience is that IDL-like abstractions create more confusion than they're worth. The API surface in each of our target languages is going to look a little bit different. Trying to make an IDL do what we want is likely to be more engineering effort than just writing the API surface directly. That being said, the advantage of an automated way of generating the "glue code" between clients and the FFI is that we can add new APIs in one place and automatically generate bindings in our target languages. |
@filmil, can you submit some documentation about this to the repo for longevity, such that we can close this issue? Thanks. |
The goal here was to explore if indeed the glue code could be autogenerated, in a similar way how language-specific code is generated from protobufs for example. FFI bindings are tedious to maintain manually, so a way to get most of that tedium autogenerated looked like it could be a good thing. |
Can you add an FAQ to charter.md, or a section to wrapper-layer.md, describing this approach? |
I added a mention of this to wrapper-layer.md in #28. |
Unassigned myself since you already have #28 |
Complementary to #1.
In case it is useful, we could consider using an IDL to auto-generate libraries from a common core implementation.
Pros:
Cons:
The text was updated successfully, but these errors were encountered: