some thoughts on panama/jextract

Samuel Audet samuel.audet at gmail.com
Wed Jan 8 10:01:57 UTC 2020


Hi, Micheal,

Thanks for posting your thoughts! I hope that the community (Ioannis, 
Ty, you, etc) will continue to voice their concerns about the various 
issues of the foreign APIs of Panama.

On 1/2/20 8:06 AM, Michael Zucchi wrote:
> I develop and maintain a few jni bindings, mainly for OpenCL and 
> FFmpeg*.  I don't think anyone else uses them anymore but so be it. 

I think the most important deliverable that are needed from these kinds 
of projects are ready-to-use binaries for all platforms. It's not 
realistic to expect Java developers to start building binaries for all 
platforms. Right now, the bindings for FFmpeg that I'm maintaining are 
available for Android (ARM, ARM64, x86, x86_64), Linux (ARM, ARM64, 
POWER64LE, x86, x86_64), Mac (x86_64), and Windows (x86, x86_64):
https://github.com/bytedeco/javacpp-presets/tree/master/ffmpeg

The Java API that gets created for all these platforms is exactly the 
same, and it works exactly the same on all these platforms as well. 
That's the kind of thing the Java community needs, in my opinion.

Samuel


More information about the panama-dev mailing list