Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmq authored Dec 22, 2024
1 parent e727d7d commit 1cbf36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Regarding different avenues, other Python-Java interop projects support Python 3

### GraalPy

[GraalPython (GraalPy)](https://github.com/oracle/graalpython) is a high-performance implementation of Python that runs on the GraalVM. It is also a Python 3.11 compliant runtime. Normally, one would run GraalPy on the [GraalVM](https://www.graalvm.org/). The GraalVM supports [JIT compilation](https://en.wikipedia.org/wiki/Just-in-time_compilation), a popular concept in scripting where code is compiled at execution time rather than befor execution. Theoretically, GraalPy could be used instead of Jython, however, it would require installation and usage of the GraalVM instead of a standard Java VM that's often used when running a Minecraft server (such as OpenJDK or Oracle JDK). Installing the GraalVM wouldn't be an easy task for the unaquainted. Therefore, this would likely hurt the user-friendliness of PySpigot, and I don't consider it a viable option.
[GraalPython (GraalPy)](https://github.com/oracle/graalpython) is a high-performance implementation of Python that runs on the GraalVM. It is also a Python 3.11 compliant runtime. Normally, one would run GraalPy on the [GraalVM](https://www.graalvm.org/). The GraalVM supports [JIT compilation](https://en.wikipedia.org/wiki/Just-in-time_compilation), a popular concept in scripting where code is compiled at execution time rather than before execution. Theoretically, GraalPy could be used instead of Jython, however, it would require installation and usage of the GraalVM instead of a standard Java VM that's often used when running a Minecraft server (such as OpenJDK or Oracle JDK). Installing the GraalVM wouldn't be an easy task for the unaquainted. Therefore, this would likely hurt the user-friendliness of PySpigot, and I don't consider it a viable option.

GraalPy does in fact support embedding into Java projects, which means that it can be used on a standard VM (not the special GraalVM that would normally be required). I wanted to test this out, so I refactored most of PySpigot to utilize this embedded version of GraalPy over at the [implement-graalpy](https://github.com/magicmq/pyspigot/tree/implement-graalpy) branch, but the results of this migration were rather disappointing:

Expand Down

0 comments on commit 1cbf36f

Please sign in to comment.