Page 1 of 1

Rhino 1.7 support

PostPosted: Tue Dec 06, 2011 12:11 pm
by rossent
Hi Servoy,

Do you have plans for supporting the newer Rhino versions?
Considering that Rhino 1.6R7 was released in 2007 and quite a few changes have been added to the Rhino engine since then, perhaps it is time for an upgrade?
Granted, some of new features you have actually incorporated in the "custom" Rhino used by Servoy so it is not actually 1.6R7 but a bit more - still, there are useful features in Rhino 1.7R3 worth having in Servoy.

See:
https://developer.mozilla.org/en/Rhino_downloads_archive

Re: Rhino 1.7 support

PostPosted: Tue Dec 06, 2011 12:23 pm
by jcompagner
trunk is already on 1.7R3 so the next major version will have the latest rhino.
What features did you want to use? Because what is not yet up to date is the editor itself for all the javascript 1.7 and some 1.8 features..
Problem with javascript that it is so fragmented ....

Re: Rhino 1.7 support

PostPosted: Tue Dec 06, 2011 10:36 pm
by Yeroc
Speaking of Rhino, have you heard about Oracle's Nashorn project? Oracle's creating their own Javascript engine to replace the Rhino one they bundle with the JDK today. They claim their's is already 3x faster and uses 5x less memory. Of course it won't be released for at least another year and I don't suppose Servoy would be able to use it via the rather limited JSR-223 interfaces anyhow.

Re: Rhino 1.7 support

PostPosted: Tue Dec 06, 2011 11:19 pm
by jcompagner
rhino is also constantly being improved:

http://groups.google.com/group/mozilla- ... cd61&pli=1

and if Nashorn is really only included in Java8 then it will really take years and years for Servoy to depend on that we currently on java5 so not even 6 or 7 (not that we directly miss features currently if we could use 6 or 7..)

Re: Rhino 1.7 support

PostPosted: Wed Dec 07, 2011 10:38 am
by rossent
jcompagner wrote:What features did you want to use? Because what is not yet up to date is the editor itself for all the javascript 1.7 and some 1.8 features..


One particular thing which we were looking at is the JSON object. We need the "standard" JSON serialization to interface with outside systems. The serialization plugin in Servoy is OK only for internal usage because it prefixes object properties and adds Java class names