3 ms·
there are JEP, JPype and PyJNIus these days...
by froh 3y ago
there are JEP, JPype and PyJNIus these days...
- networked 3y agoThose are bridges to native CPython. There is also GraalPy (https://github.com/oracle/graalpython https://github.com/oracle/graalpython), which is a standalone implementation more similar to Jython. It seems already quite compatible with Python 3. I have tested the latest version graalpy-community-23.1.2 as a regular Python interpreter from the command line (i.e., not through a Java program). It was able to run my standard library-only Python scripts, as well as a script that made async HTTP requests with the external library HTTPX. It couldn't run a TUI program that used the Python Prompt Toolkit (`AttributeError: module 'signal' has no attribute 'siginterrupt'`). I am curious about your experience if you have used GraalPy more than I have.
- froh 3y agowow oracle is really nervous about python and Microsoft's support for it, huh? I just now learned about this project, thanks for pointing it out. I'll be curious how they go about shared data, especially shared str/String. also I personally happen to depend on Windows support, I'll go popcorn on the future of this project...