Can libffi be used for Python and Java to communicate?

281 views Asked by At

I'm wondering if it is possible for an app to run in Python and call Java methods (and vice versa) through libffi?

1

There are 1 answers

0
Anthony Green On

In general, things get complicated when you're talking about two managed runtimes (CPython and the JVM, for instance). libffi only really deals with a subset of the issues here. I would look more at remote method invocations as a way to integrate code written in different managed runtime environments.