News for hackers. Stuff that matters.
Re:App Engine JavaScript SDK by boucher on Monday May 31, 2010 @02:00PM (#1393073)
It's unfortunate, but it's also the reason we wrote Narwhal, which now means we rarely need to use Rhino at all. A welcome change.
Re:App Engine JavaScript SDK by pmjordan on Monday May 31, 2010 @04:08PM (#1393363)
The killer feature of Rhino for me is the fact that it runs on the JVM, and customers are OK with me using JavaScript, whereas they're not OK with Clojure or so. Too bad the Java integration in Rhino isn't exactly great. (example: you can only use the 0-argument constructor when deriving from a class)
Re:App Engine JavaScript SDK by past on Monday May 31, 2010 @02:22PM (#1393118)
Erm, narwhal actually uses rhino as its default engine. Perhaps you meant to say that you can now target the narwhal API, instead of waiting for rhino to expand its API offerings?
Re:App Engine JavaScript SDK by boucher on Monday May 31, 2010 @03:20PM (#1393235)
No, I meant what I said. We use narwhal-jsc 95% of the time. Rhino is this unfortunate thing we keep around for compatibilities sake.

The flexibility of being able to switch engines as needed is also a major win in Narwhal. I suspect in the next year we'll end up moving everything to v8, which should prove to be extremely easy to do.

Re:App Engine JavaScript SDK by gmosx on Monday May 31, 2010 @06:25PM (#1393664)
no prob, thanks to CommonJS it was extremely easy to switch from Narwhal to the RingoJS: www.ringojs.org