JavaScript extension support in future versions

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
spongerobert
Posts: 1
Joined: 29 Feb 2024, 18:52

JavaScript extension support in future versions

Post by spongerobert »

Since JDK 15 the Nashorn Javascript engine has been removed and it’s not possible to use Javascript Extensions in newer JDK anyway, is there any plans on your end to integrate a newer JS engine, GraalVM JS or V8, so we could use full featured ES6 in Javascript Extensions and make sure it doesn't just become obsolete in a few years once JDK 8 or 11 (LTS) no longer has free updates?

We're working on a long lasting project and need to make sure JavaScript will be supported for the years to come.

Also would be very nice to have es6 support to avoid the headache of making our users port their es6 back to es5.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: JavaScript extension support in future versions

Post by Lapo »

Hi,
GraalVM JS is an option we're looking into. It supports all the recent specs of the Javascript language and it seems to have a somewhat better support for multi-threaded environments than Nashorn.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply