Skip to main content
Solved

Which scripting language performs best?

  • February 9, 2022
  • 2 replies
  • 83 views

mblahay
Discovered Fame

Is there a particular scripting language that performs better; Groovy, Jython, Javascript?

Best answer by sam

JavaScript is the one to use. Note that it runs via the Nashorn engine, so it won’t have the most recent JavaScript features. However, it has a few extensions including the “for each … in” syntax: https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions

2 replies

Drew Kreiger
Rock star
Forum|alt.badge.img
  • Senior Community Builder at StreamSets
  • February 11, 2022

@mblahay

 

I misspoke, Javascript would perform the best. 


Forum|alt.badge.img
  • StreamSets Employee
  • Answer
  • February 11, 2022

JavaScript is the one to use. Note that it runs via the Nashorn engine, so it won’t have the most recent JavaScript features. However, it has a few extensions including the “for each … in” syntax: https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions