Equivalent of IronClad for Jython

There is a project for IronPython - IronClad , whose goal is to transparently launch C-extensions in it. Is there a similar project for Jython?

+3
source share
2 answers

Keep an eye out for JyNI ( http://www.jyni.org ), that is, for Jython, exactly what IronClad is for IronPython. At the moment, JyNI is still an alpha state.

If you just want to use some C library from Jython, just use JNA from Jython, just like with Java. If you need finer control, look at JNI or SWIG.

, JEP (https://github.com/mrj0/jep) JPY (<2 > ).

+1

, Java loadLibrary ( , java). java: java.System.loadLibrary().

, C / Java , , , . . .

+1

Source: https://habr.com/ru/post/1697202/


All Articles