cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Use J2V8 to replace the current JavaScript engine Rhino

Use J2V8 to replace the current JavaScript engine Rhino

ThingWorx uses Rhino as its JavaScript engine . But Rhino is too slow ,  comparing to V8 its 10 times slower ,  why not use J2V8 (the Java integration of V8) instead ? 

3 Comments
AndyHilton
8-Gravel

Yes, this should definitely be done.

atiwari-4
12-Amethyst
Status changed to: Under Consideration

Hello! 

Thank you for your idea and feedback.

We understand that J2V8 is a dormant open-source project which is not a viable option. We plan to evaluate GraalVM as an updated JavaScript engine in the future for this use-case planned for CY 2024-25 timeframe.

 

Regards,

Ayush Tiwari

Director, ThingWorx Product Management

 

seanccc
17-Peridot

@atiwari-4 

 

Hope  GraalVM  + typescript + debug  are in the plan together : )