I often need to use library written in one language in another language.
There are many projects that support interfacing between programs written in different programming languages (either by generating bindings or using reflection). For example:
- SWIG (C++/C <-> multiple languages)
- pyjnius (Python<->Java)
- gopy (Go<->Python)
- “raw” C interop is built-in in most languages (C#, Java, NodeJS, Go…)
It is cumbersome to include several binding generators in one project. I’m looking for a single library that is able to generate bindings between multiple languages. The most comprehensive solution I have found yet is SWIG, but it only supports C/C++.
Is there any project similar (or bigger) in scope than SWIG?