There's always more compatibility issues to fix in GraalPy, and it's cool use-cases like this that help us prioritise: https://t.co/kp9dlnoH9K
Let us know about yours! #graalpy@graalvm
@maxandersen@jbangdev@graalvm Sure, I didn't initially put it anywhere, but you prompted me to clean it up a bit so it's a reasonable usage example :) https://t.co/wwSPAJynV5
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: https://t.co/OrmsOD7FGY #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 https://t.co/LwMMkHN1uj 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. https://t.co/bs6jrDSdb0 for an example
All you need to know about GraalPy: getting started, installing packages, running programs, embedding in Java applications:
https://t.co/RcpY9Fgzz7
by @Olya_Gupalo and @TimFelgentreff#Python
Want to quickly call some Python code from your Java tool? Thanks to @maxandersen's help, you can now do it with @jbangdev, too. Also works with @GraalVM Native Image :) #graalpy#graalvm
➡️https://t.co/FkaL8N8tCL
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 :)
Here's the recording of the HPy presentation that HPy core dev @timfelgentreff gave at the @ICOOOLPS and TRUFFLE workshops last week: https://t.co/A4ZRbYU0VB