News for hackers. Stuff that matters.
Re:On average, Python in GraalVM is 8.92x faster than CPython by tmaly on Wednesday November 03, 2021 @01:39PM (#29097919)
what is the catch?
Re:On average, Python in GraalVM is 8.92x faster than CPython by tyingq on Wednesday November 03, 2021 @02:01PM (#29098224)
"after warmup" and "The Python runtime is yet experimental in GraalVM".

https://www.graalvm.org/python/quickstart/

Re:On average, Python in GraalVM is 8.92x faster than CPython by genjipress on Wednesday November 03, 2021 @01:47PM (#29098029)
"There are not enough standard libraries to run the standard package installers for many packages with GraalVM Python runtime yet."
Re:On average, Python in GraalVM is 8.92x faster than CPython by pawelmurias on Wednesday November 03, 2021 @01:48PM (#29098046)
They are running on the commercial version of GraalVM. There is a giant technological gap between Python and Truffle (the framework behind Python on GraalVM CPython is a primitive interpreter while the other is a generating a hybrid JIT interpreter for both Python and CPython C extensions using Futamura projections.
Re:On average, Python in GraalVM is 8.92x faster than CPython by BlackFingolfin on Wednesday November 03, 2021 @01:46PM (#29098008)
It's made by Oracle
Re:On average, Python in GraalVM is 8.92x faster than CPython by azth on Wednesday November 03, 2021 @02:31PM (#29098562)
Stop the FUD please.
Re:On average, Python in GraalVM is 8.92x faster than CPython by invalidname on Wednesday November 03, 2021 @03:45PM (#29099389)
Why is it FUD?

Oracle has a long history of suing customers etc. It's a pretty litigious company. It also tends to include nuanced details in their license agreements e.g. https://www.linkedin.com/pulse/oracle-java-release-17-now-fr...

I'm not anti-Oracle. I worked there (worked at Sun which was acquired), so I understand the mentality. I use GraalVM and it's pretty nice. But whenever I pick an Oracle product I always make sure I can dump it in a second if they decide they want to monetize me aggressively.

Re:On average, Python in GraalVM is 8.92x faster than CPython by azth on Wednesday November 03, 2021 @04:06PM (#29099625)
OpenJDK is free.
Re:On average, Python in GraalVM is 8.92x faster than CPython by __MatrixMan__ on Wednesday November 03, 2021 @02:21PM (#29098445)
so if you're successful with it, they'll eventually sue you.
Re:On average, Python in GraalVM is 8.92x faster than CPython by ksec on Wednesday November 03, 2021 @01:59PM (#29098205)
My guess is that it is in a similar situation as Ruby on GraalVM, C-extensions.
Re:On average, Python in GraalVM is 8.92x faster than CPython by wolf550e on Wednesday November 03, 2021 @01:47PM (#29098027)
C extension compatibility?
Re:On average, Python in GraalVM is 8.92x faster than CPython by tyingq on Wednesday November 03, 2021 @02:02PM (#29098238)
Supposedly there, this isn't Jython.

https://www.graalvm.org/python/quickstart/

"the possibility to create native platform binaries using the Native Image, a managed execution mode to run, for example, NumPy extensions in a safe manner, and many more."

Lots of couching language about "experimental" and "possibility" though. So it seems new.

Re:On average, Python in GraalVM is 8.92x faster than CPython by pchanda on Wednesday November 03, 2021 @02:16PM (#29098399)
I think there is sulong for that (https://github.com/oracle/graal/tree/master/sulong)
Re:On average, Python in GraalVM is 8.92x faster than CPython by AzzieElbab on Wednesday November 03, 2021 @01:47PM (#29098021)
I'd imagine you have to recompile every C/C++ library used by your python code