[Python-ideas] Add GraalPython to the list of Python implementations
jamtlu at gmail.com
Thu May 23 16:00:06 EDT 2019
GraalPython is an implementation on the Truffle VM, by Oracle Labs. The
VM gives Python high-performance interoperability with other languages-
Interpreter," which I think means that it executes an interpreter over AST
nodes, then compiles and inlines those nodes to machine code as necessary.
By default, Truffle VM with the Graal JIT enabled. The Graal JIT compiles
AST down to machine code.
significantly more memory than V8, while having lower performance on pure
know if this is already possible in Python through Python's built-in C
extensions. (Since CPython still has to go through its normal dot attribute
lookup machinery, I'd imagine the performance benefits of converting a
class to a C struct would be little.)
TL;DR: GraalPython is a Python implementation with a JIT, an easy way to
extensions, and an easily extensible AST interpreter.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas