DEV Community


Nashorn JavaScript engine

k4ml profile image Kamal Mustafa ・1 min read

Few days ago, while looking at this SIP server, I noticed it being executed using something called Nashorn, instead of the more popular JavaScript runtime nodejs.

So Nashorn is JS engine in Java, and a successor to the Mozilla Rhino. Bad news is that it already deprecated in latest Java, without no alternative offered.

Routr developer when asked on his plan following Nashorn deprecation from Java, said he considering 2 choices:-

  1. GraalVM takes of and becomes a viable replacement for Nashorn. In which case I will be more than happy to port the project.
  2. Nashorn die without a viable substitute. In which case I will have no option but to re-write the project in Java.

Discussion (1)

Editor guide
k4ml profile image