You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,13 @@ GraalPy has first-class support for embedding in Java and can turn Python applic
12
12
**Low-overhead integration with Java and other languages.**
13
13
14
14
*[Interoperate](docs/user/Interoperability.md) with Java, JavaScript, Ruby, and other languages on GraalVM JDK, Oracle JDK, or OpenJDK
15
-
* Easy to use with [Maven build tools](docs/user/PythonStandaloneBinaries.md#embedding-graalpy-in-a-java-application)
16
-
* Monitor Python execution with JVM tools such as [VisualVM](http://visualvm.org/) or JFR
17
-
* GraalVM Native Image [compilation is well supported](docs/user/PythonNativeimages.md)
15
+
* Use JVM tools like [Maven](docs/user/PythonStandaloneBinaries.md#embedding-graalpy-in-a-java-application), JFR, or [GraalVM Native Image](docs/user/PythonNativeimages.md)
18
16
* Manage Python libraries' system access thanks to GraalPy's [Java-based emulation of Python OS APIs](docs/user/OsInterface.md#java-backend)
19
17
20
18
**Compatible with the Python ecosystem**
21
19
22
20
* Use almost any standard Python feature, the CPython tests run on every commit and pass ~85%
23
-
* Access many [PyPI packages](https://pypi.org/) including *NumPy*, *PyTorch*, *Tensorflow*, and *SciPy*
24
-
* Run models such as Stable Diffusion or GPT from [Hugging Face](https://huggingface.co/)
21
+
* Install [packages](https://pypi.org/) like *NumPy*, *PyTorch*, *Tensorflow*; run [Hugging Face](https://huggingface.co/) models like *Stable Diffusion* or *GPT*
25
22
* See if the packages you need work with our [Python Compatibility Checker](https://www.graalvm.org/python/compatibility/)
26
23
<sup>
27
24
We run the tests of the [top PyPI packages](https://hugovk.github.io/top-pypi-packages/) on GraalPy every day.
@@ -30,9 +27,9 @@ For more than 96% of the top PyPI packages, there is at least one recent version
30
27
31
28
**Runs Python code faster**
32
29
33
-
* Pure Python code is often faster than on CPython thanks to JIT compilation
34
-
* C extensions performance is close to CPython but varies depending on the specific interactions of native and Python code
35
-
*Geomean speedup of ~4 on the [Python Performance Benchmark Suite](https://pyperformance.readthedocs.io/) over CPython
30
+
* Pure Python code is often faster than on CPython after to JIT compilation
31
+
* C extension performance is near CPython, but varies depending on the specific interactions of native and Python code
32
+
*GraalPy is ~4x faster than CPython on the official [Python Performance Benchmark Suite](https://pyperformance.readthedocs.io/)
36
33
<sup>
37
34
Benchmarks run via `pip install pyperformance && pyperformance run` on each of CPython, Jython, and GraalPy.
38
35
Installation of each done via <tt>[pyenv](https://github.com/pyenv/pyenv)</tt>.
@@ -178,10 +175,11 @@ To run Jython scripts, you need to use a GraalPy distribution running on the JVM
178
175
179
176
## Documentation
180
177
181
-

178
+
Our [Quick Reference Sheet](https://www.graalvm.org/uploads/quick-references/GraalPy_v1/quick-reference-graalpy-v1(eu_a4).pdf) should help you get started.
179
+
More GraalPy-specific user documentation is available in [docs/user](docs/user).
180
+
General documentation about [polyglot programming](https://www.graalvm.org/latest/reference-manual/polyglot-programming/) and [language embedding](https://www.graalvm.org/latest/reference-manual/embed-languages/) is available on the GraalVM website.
182
181
183
-
We have [Quick Reference Sheet](https://www.graalvm.org/uploads/quick-references/GraalPy_v1/quick-reference-graalpy-v1(eu_a4).pdf) to help you get started quickly.
184
-
More user documentation is available in [docs/user](docs/user).
0 commit comments