Re:Oracle Contributing GraalVM Community Edition Java Code t...
by emptysongglass on Wednesday October 26, 2022 @02:59PM
(#33347860)
Maybe a newb question but may I ask for an explanation why someone would want Python to run on the JVM and how they'd get started? Is it adaptable to a Poetry-led workflow?
[ Parent
| on HN ]
Re:Oracle Contributing GraalVM Community Edition Java Code t...
by chrisseaton on Wednesday October 26, 2022 @03:45PM
(#33348400)
> why someone would want Python to run on the JVM
* to run faster
* to get a better JIT compiler, better GC, sandboxing, etc
* to run using code from other JVM languages in the same process
* to get the JVM's monitoring tools
* to embed into a Java application
Re:Oracle Contributing GraalVM Community Edition Java Code t...
by jeroenhd on Wednesday October 26, 2022 @03:45PM
(#33348408)
Here are some nice examples: https://www.graalvm.org/22.2/reference-manual/python/Interop...
This may be more readable: https://github.com/oracle/graalpython/blob/master/docs/user/...