News for hackers. Stuff that matters.
Re:GraalPy – A high-performance embeddable Python 3 runtime ... by pjmlp on Tuesday September 17, 2024 @04:03PM (#41572067)
I am willing to live with Python as the Lisp we deserve to have, on this AI wave, when it finally gets a proper JIT story we can rely on, regardless of the workload.

Currently it is a mix and match of an herculean engineering effort mostly ignored by the community (PyPy), DSLs for GPGPUs, bunch of C and C++ libraries that people keep referring to as "Python" when any language can have similar bindings, jython, IronPython, GraalPy,...

So it isn't for lack of trying, at least we finally have CPython folks more welcoming to performance improvements, and JITs.

Re:GraalPy – A high-performance embeddable Python 3 runtime ... by RMPR on Tuesday September 17, 2024 @08:27PM (#41574364)
> I am willing to live with Python as the Lisp we deserve to have

You can have your cake and eat it too https://github.com/hylang/hy

Re:GraalPy – A high-performance embeddable Python 3 runtime ... by fastball on Wednesday September 18, 2024 @12:22AM (#41575763)
The problem with PyPy is that it doesn't support the C-API, which is required for all those other high performance libraries.

So you gain the perf of a JIT, while losing out on most everything else high-performance in the Python ecosystem.

Re:GraalPy – A high-performance embeddable Python 3 runtime ... by masklinn on Wednesday September 18, 2024 @02:49AM (#41576582)
Pypy has cpyext which implements a subset of the C-API, however it comes with a long list of caveats, and is more of a backstop, they very much prefer cffi.