Hi Chris,

a few month ago, I tried out Nashorn to achieve a fast pure-Java RequireJS
build process. RequireJS' "optimizer" r.js is written in JavaScript and
runs in Node.js and Rhino. Unfortunately, in Rhino, it is about ten times
slower than in Node.js. So when I heard that Nashorn is to be much faster
than Rhino, I had quite high expectations towards Nashorn and tweaked r.js
to be Nashorn-compatible. Sorry to say that the result was quite
disappointing: it was about three times faster than Rhino, but this is
still about three times slower than Node.js / V8 (which is not the latest
and fastest JS engine either). Maybe it was because of the pre-release
version, which as far as I heard still missed many of the performance
optimizations? I should try again with a current version...

-Frank-


On Tue, Dec 10, 2013 at 9:30 AM, Christofer Dutz
<christofer.d...@c-ware.de>wrote:

> In this case you should have a look at the Nashorn Project. It's a
> JavaScript engine running natively inside the Java VM and hereby on the
> Server:
>
> https://blogs.oracle.com/thejavatutorials/entry/javaone_2013_nashorn_javascript_on
>
> Chris
>
> ________________________________________
> Von: Frank Wienberg <fr...@jangaroo.net>
> Gesendet: Dienstag, 10. Dezember 2013 09:00
> An: dev@flex.apache.org
> Betreff: Re: AS3 on the server
>
> What about compiling AS3 to JS using FalconJx and running the result in
> Node.js?
> All you'd need are some ActionScript "stub" APIs of the corresponding
> Node.js modules...
>
>
> On Sat, Nov 30, 2013 at 11:06 PM, jude <flexcapaci...@gmail.com> wrote:
>
> > At one time there was talk about AS3 on the server. With node.js you can
> > use JS on the server. What happened to that project? Is it something can
> be
> > donated to Apache?
> >
>

Reply via email to