Rails Clones and Rhino vs SpiderMonkey

C

Chad Crabtree

As I'm sure some of you already know there is quite a bit of stir on
Reddit about a few Javascript Rails clones. Both of them run on
Rhino, which brings me to my question.

Why is it that both Trimpath and the google guy choose to run on rhino
vs Spidermonky. I'm coming here as it's the only place I can think of
to find a cogent answer.

My guess since I have thought about it is to leverage Java libraries.
Would that be the only reason?
 
D

d d

Chad said:
As I'm sure some of you already know there is quite a bit of stir on
Reddit about a few Javascript Rails clones. Both of them run on
Rhino, which brings me to my question.

Why is it that both Trimpath and the google guy choose to run on rhino
vs Spidermonky. I'm coming here as it's the only place I can think of
to find a cogent answer.

My guess since I have thought about it is to leverage Java libraries.
Would that be the only reason?

Don't know about anyone else, but I'm off to wikipedia
to find out what on earth Rhino, Spidermonkey, Reddit
and Trimpath are ;-)

~dd
 
R

RobG

As I'm sure some of you already know there is quite a bit of stir on
Reddit about a few Javascript Rails clones. Both of them run on
Rhino, which brings me to my question.

Why is it that both Trimpath and the google guy choose to run on rhino
vs Spidermonky. I'm coming here as it's the only place I can think of
to find a cogent answer.

My guess since I have thought about it is to leverage Java libraries.
Would that be the only reason?

My guess is because Rhino is works in JDK 1.4 and greater and
therefore likely to run on various platforms (if not written to do so
already). Spidermonkey is C, so requires more work to port.

This group is dedicated to ECMAScript languages and generally focussed
on client-side scripting in web pages - Rhino, Spidermonkey, et al are
pretty much irrelevant. Even Greasemonkey rarely gets a mention.
 
P

Peter Michaux

As I'm sure some of you already know there is quite a bit of stir on
Reddit about a few Javascript Rails clones.

There has? Links?
Both of them run on
Rhino, which brings me to my question.

Why is it that both Trimpath

I have looked at Trimpath. It has many interesting ideas and is
creative but the implementation is very broken.
and the google guy
Link?

choose to run on rhino
vs Spidermonky. I'm coming here as it's the only place I can think of
to find a cogent answer.

My guess since I have thought about it is to leverage Java libraries.
Would that be the only reason?

I imagine Spidermonkey is faster.

Peter
 
P

Peter Michaux

As I'm sure some of you already know there is quite a bit of stir on
Reddit about a few Javascript Rails clones. Both of them run on
Rhino, which brings me to my question.

Why is it that both Trimpath and the google guy choose to run on rhino
vs Spidermonky. I'm coming here as it's the only place I can think of
to find a cogent answer.

My guess since I have thought about it is to leverage Java libraries.
Would that be the only reason?

Thanks to all this recent fuss, I've been playing with server-side
JavaScript for a few days. I have a downloadable example that uses the
Jetty server, Rhino JavaScript engine and MySQL so that a web
framework could be written for JavaScript. Just a proof of concept to
show how the pieces can talk to each other. More details...

http://peter.michaux.ca/article/3019

It would only take thousands of hours to finish such a project.

Peter
 
I

Ido Yehieli

Thanks to all this recent fuss, I've been playing with server-side
JavaScript for a few days. I have a downloadable example that uses the
Jetty server, Rhino JavaScript engine and MySQL so that a web
framework could be written for JavaScript. Just a proof of concept to
show how the pieces can talk to each other. More details...

http://peter.michaux.ca/article/3019

Thanks for the example Peter!

Makes me want to start a new project...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top