|
|
|
|
|
by yorwba
3506 days ago
|
|
From https://wiki.openjdk.java.net/display/Graal/Publications+and... Forget “this language is fast”, “this language has the libraries I need”, and “this language has the tool support I need”. The Truffle framework for implementing managed languages in Java gives you native performance, multi-language integration with all other Truffle languages, and tool support - all of that by just implementing an abstract syntax tree (AST) interpreter in Java. Truffle applies AST specialization during interpretation, which enables partial evaluation to create highly optimized native code without the need to write a compiler specifically for a language. The Java VM contributes high-performance garbage collection, threads, and parallelism support. So you won't need the know-how to write a compiler, but instead write an interpreter optimized for execution with Graal. |
|