3 ms·
Isn't GraalJS restricted in usage though? Like it can only be used as part of Oracle GraalVM, not any other JVM distribution?
by didibus 6y ago
Isn't GraalJS restricted in usage though? Like it can only be used as part of Oracle GraalVM, not any other JVM distribution?
- hansjorg 6y agoFrom the readme: > The preferred way to run GraalVM JavaScript is from a GraalVM. If you prefer running it on a stock JVM, please have a look at the documentation in RunOnJDK.md. I'm running it on a stock OpenJDK JVM without any issue, just by including a Maven dependency. For best performance you should run it on GraalVM (where the Community Edition is based on OpenJDK).
- didibus 6y agoOh that's awesome, thanks for letting me know.
- KajMagnus 6y agoThe GraalJS license is apparently similar to MIT: https://github.com/graalvm/graaljs/blob/master/LICENSE https://github.com/graalvm/graaljs/blob/master/LICENSE "The Universal Permissive License (UPL), Version 1.0" And about the UPL: https://tldrlegal.com/license/universal-permissive-license-1.0-(upl-1.0) https://tldrlegal.com/license/universal-permissive-license-1... "... including an explicit patent grant, clear ability to relicense ..."
- chrisseaton 6y agoJVMCI (the interface GraalJS uses to talk to the compiler, rather than going through bytecode, as Nashorn does) is now a standard part of OpenJDK.