1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 09:10:48 +03:00

[java-truffle] add to main README.md

This commit is contained in:
Matt McGill 2021-04-23 02:15:12 +00:00 committed by Joel Martin
parent 1393145567
commit 578df288f4

View File

@ -42,7 +42,7 @@ process guide](process/guide.md) there is also a [mal/make-a-lisp
FAQ](docs/FAQ.md) where I attempt to answer some common questions.
**3. Mal is implemented in 86 languages (90 different implementations and 112 runtime modes)**
**3. Mal is implemented in 86 languages (90 different implementations and 113 runtime modes)**
| Language | Creator |
| -------- | ------- |
@ -83,6 +83,7 @@ FAQ](docs/FAQ.md) where I attempt to answer some common questions.
| [Io](#io) | [Dov Murik](https://github.com/dubek) |
| [Janet](#janet) | [sogaiu](https://github.com/sogaiu) |
| [Java](#java-17) | [Joel Martin](https://github.com/kanaka) |
| [Java](#java-truffle) (Truffle/GraalVM) | [Matt McGill](https://github.com/mmcgill)
| [JavaScript](#javascriptnode) ([Demo](http://kanaka.github.io/mal)) | [Joel Martin](https://github.com/kanaka) |
| [jq](#jq) | [Ali MohammadPur](https://github.com/alimpfard) |
| [Julia](#julia) | [Joel Martin](https://github.com/kanaka) |
@ -631,6 +632,19 @@ mvn -quiet exec:java -Dexec.mainClass=mal.stepX_YYY
mvn -quiet exec:java -Dexec.mainClass=mal.stepX_YYY -Dexec.args="CMDLINE_ARGS"
```
### Java, using Truffle for GraalVM
This Java implementation will run on OpenJDK, but can run
as much as 30x faster on GraalVM thanks to the Truffle framework.
It's been tested with OpenJDK 11, GraalVM CE 20.1.0, and
GraalVM CE 21.1.0.
```
cd impls/java-truffle
./gradlew build
STEP=stepX_YYY ./run
```
### JavaScript/Node
```