There's always more compatibility issues to fix in GraalPy, and it's cool use-cases like this that help us prioritise: github.com/msievers/graal…
Let us know about yours! #graalpy@graalvm
I wanted a small tool to graphically manage ADF disk images. There's a Python library to work with them on the commandline. Whipped up a quick Java UI with @jbangdev using the #graalpy template and got myself a standalone native app thanks to @graalvm native image :)
We run the tests of ~600 PyPI packages every day to catch #GraalPy regressions and generate compatibility tickets for ourselves - a lot of stuff "just works" these days and we're working hard to match CPython: #why-graalpy" target="_blank" rel="nofollow noopener">github.com/oracle/graalpy… #graalvm
@eatonphil@thomaswue Yes, CPython is using the Cython code compiled to a native extension. If CPython runs the same Python code as GraalPy or PyPy, I get 13fps for this demo
Years ago github.com/Baekalfen/PyBoy had to rewrite code to Cython to provide enough performance on CPython. Today, GraalPy can JIT the pure Python to within a few percent of the natively compiled Cython code (demo Gejmbåj by Snorpung) #graalvm#graalpy
@dainius_jocas@thomaswue@graalvm Yes, we don't strip the Python parts of the image at all, so even for a "Hello World" the image includes the entire Python language core, tooling, Python standard library and JIT infrastructure code. Definitely something we are looking into improving!
@johan_tlb@thomaswue@graalvm Yes, there's a venv argument to the command @thomaswue posted, the venv is automatically included into the binary. See e.g. #tweaked-to-work-with-graalpy-standalone" target="_blank" rel="nofollow noopener">github.com/timfel/racing-… for an example
How do other people deploy their pygames? With GraalPy 23.1, it can all be in single binary file, ready to run. Try "graalpy -m standalone --help" #graalpy#graalvm
@fwbrasil@grashalm_ Getting there, PyTorch works well (>80% of their tests passing), the latest Tensorflow has started running a wee bit too late for this release. Both that and some cool Java integration features will land in master very soon and go into the next release :)
GraalVM for JDK 21/Polyglot 23.1 just landed! 🤩
GU is dead! You can now use all languages from Maven Central without barriers.
This is such a big change that we felt the need to justify it with a blog post:
medium.com/graalvm/truffl…