Replies: 1 comment 5 replies
-
I love the idea of step-by-step instructions for how to add a binding for each language. This could easily be added to the sphinx documentation in the In terms of making sure that the bindings are updated as we add capabilities to MParT, maybe we could create some sort of checklist that pull request reviewers need to go through (maybe something like this). Checking to make sure the bindings have been updated could be part of the checklist. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think we now have a good understanding of how to build bindings for Julia,Python and Matlab. While some bindings might be less "automatic" than others, I was wondering how overall we can ensure that the bindings will keep up with the development of the main C++ code.
I guess one idea is to build tests that are comparable between C++ and other languages. As we don't necessary want to expose every class to the bindings I guess we would want to do this with a specific set of tests.
Will it be possible to automatically create binding issues each time an important feature/modification we need to expose to bindings is merged to the main?
Also regarding binding maintenance, I think we should write tutorials for bindings. While pybind11 tutorials probably already exists, I would love to have a specific tutorial for MParT that I can easily find that explains how to proceed with the specific class/files/library of the project so I can contribute easily. Regarding Matlab bindings I thinks it's absolutely necessary. I had big trouble finding something already existing and the solution I am using is kind of homemade and requires explanation so that other people would be able to contribute (or improve!!).
Let me know if any of this makes sense or if you have any ideas!
Beta Was this translation helpful? Give feedback.
All reactions