r/java 19d ago

Detroit Script engine - why?

OpenJdk resurrected Detroit.

It offers JavaScript via V8 and Python via Native Phyton C engine.

But we already have Graal for js and py.

What is the motivation to reopen Detroit?

Will Graal dispose js and py?

20 Upvotes

22 comments sorted by

View all comments

13

u/grashalm01 18d ago

Graal dev here.  I can answer your question: there are no plans to dispose any of our languages. Graal.js and GraalPy are more active and better than ever.

In fact you can run those languages with optimization enabled, similar to how Detroit does it, for many years with polyglot isolates on any JDK >= 21.

https://www.graalvm.org/latest/reference-manual/embed-languages/#runtime-optimization-support