1
1
# Frequently Asked Questions
2
2
3
- ### Does module/package XYZ work on the GraalVM Python implementation?
3
+ ### Does module/package XYZ work on GraalVM's Python implementation?
4
4
5
5
It depends, but is currently unlikely. The first goal with the GraalVM Python implementation was to
6
6
show that NumPy and related packages can run using the managed GraalVM LLVM
@@ -13,7 +13,7 @@ It can, but there are some caveats, like Python code subclassing Java
13
13
classes or use through the ` javax.script.ScriptEngine ` not being
14
14
supported. See the [ Jython Compatibility] ( Jython.md ) guide for details.
15
15
16
- ### Do I need to compile and run native modules as LLVM bitcode to use GraalPython ?
16
+ ### Do I need to compile and run native modules as LLVM bitcode to use GraalVM's Python implementation ?
17
17
18
18
If you want to run C extensions or use certain built-in features, yes, you need
19
19
to build the module with GraalVM's Python and then it will run using the GraalVM
@@ -23,7 +23,7 @@ library modules and packages work without running any LLVM bitcode. So even
23
23
though GraalVM's Python depends on the GraalVM LLVM runtime, for many use cases
24
24
you can disallow native modules entirely.
25
25
26
- ### Can I use GraalVM sandboxing features with GraalPython ?
26
+ ### Can I use GraalVM sandboxing features with GraalVM's Python implementation ?
27
27
28
28
Yes, you can. As an embedder, you can selectively disable features. For example, you
29
29
can disable native code execution or filesystem access. If you are a user of
@@ -38,7 +38,7 @@ unclear or where multiple behaviours are imaginable. The team is actively lookin
38
38
use cases and are continuously evolving the Python implementation to provide the most
39
39
convenient and least surprising behaviour.
40
40
41
- ### What is the performance I can expect from GraalVM's Python?
41
+ ### What is the performance I can expect from GraalVM's Python implementation ?
42
42
43
43
For pure Python code, performance after warm-up can be expected to be around 5-6
44
44
times faster than CPython 3.8 (or 6-7x faster than Jython). For native
0 commit comments