Lately, some of the folks at CIRCT have been working on bindings. We currently have Swift, NodeJS, and Python bindings to CIRCT, and we are getting to the point that we would like to collaborate on some upstream improvements.
For example, I would like to expose some of CIRCT’s custom types to Python. I have an idea of how I can do that with some refactoring of the upstream Python binding code, but I would also be interested in making a more general improvement that can benefit the other host languages like Swift.
This is just an example of the flavor of discussion we are interested in having. Another example is the discussion we had on the first PR that added Python bindings to a CIRCT dialect: [Python] Add Python builder for RTLModuleOp. by mikeurbach · Pull Request #824 · llvm/circt · GitHub. Comments ranged from Python style to duplicating logic to RTTI.
We (the CIRCT folks and @stellaraccident) threw out the idea of having a face-to-face meeting to get to know the various stakeholders interested in bindings to MLIR projects, discuss our thoughts, and come up with some concrete next steps we can collaborate on to improve the situation.
Would it be worth discussing this in an ODM? Should we break out an have a separate session just for this?
I’m curious to hear who else (if anyone) is interested in these topics, and when would be a good time.
Mike (on behalf of CIRCT folks)