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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Why not use J2V8 to replace the current Rhino ?

seanccc
17-Peridot

Why not use J2V8 to replace the current Rhino ?

Hi, 

ThingWorx use 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 ? 

 

Regards,

Sean

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:slangley)

Hi @seanccc.

 

The Product Mgmt team advised that graal, v8, et al are being evaluated for future releases.

 

Regards.

 

--Sharon

View solution in original post

3 REPLIES 3
VladimirN
24-Ruby II
(To:seanccc)

slangley
23-Emerald II
(To:seanccc)

Hi @seanccc.

 

The platform predates J2V8. While V8 is certainly faster than Rhino, JS code in services is mainly interacting with Java objects within the platform, not executing high-performance code itself.

 

It's my understanding that alternatives are being discussed, but nothing definitive at this time.  However, I will make sure the Product Managers are made aware of your inquiry.

 

Regards.

 

--Sharon

 

 

slangley
23-Emerald II
(To:slangley)

Hi @seanccc.

 

The Product Mgmt team advised that graal, v8, et al are being evaluated for future releases.

 

Regards.

 

--Sharon

Top Tags