473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Rails Clones and Rhino vs SpiderMonkey

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?

Jun 28 '07 #1
6 2617
d d
Chad Crabtree wrote:
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
Jun 28 '07 #2
On Jun 29, 7:02 am, Chad Crabtree <flaxea...@gmail.comwrote:
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.
--
Rob

Jun 29 '07 #3
On Jun 28, 2:02 pm, Chad Crabtree <flaxea...@gmail.comwrote:
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

Jun 30 '07 #4
On Jun 30, 3:12 am, Peter Michaux <petermich...@gmail.comwrote:
Reddit about a few Javascript Rails clones.
There has? Links?
<SNIP>
and the google guy
Link?
http://www.google.com/search?q=reddit+javascript+ralis

click on the first result for the answer to both questions.

-Ido.

Jul 5 '07 #5
On Jun 28, 2:02 pm, Chad Crabtree <flaxea...@gmail.comwrote:
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

Jul 11 '07 #6
On Jul 11, 5:36 am, Peter Michaux <petermich...@gmail.comwrote:
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...

Jul 14 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: flab ba | last post by:
The pragmatic programmers (Dave & Andy) are spreading a good word about RubyOnRails. I was wondering if there are any Python programmers who are /also/ familiar with Rails - and if they could...
1
by: wyl_lyf | last post by:
Hello! I know that spidermonkey can compile and detect if the javascript has any syntax errors. But I'm not sure if it can handle javascript to be ran on the server-side? example:...
3
by: Isaac Gouy | last post by:
1) Running a standalone script with SpiderMonkey on Linux js -f scriptfile.js scriptarg How can I get the value of scriptarg from within the JavaScript scriptfile? 2) Running a standalone...
2
by: k0t1k | last post by:
This is "newObject" method from org.mozilla.javascript.Context class. .... 01 : public final Scriptable newObject(Scriptable scope, String constructorName, Object args) 02 : { 03 : ...
28
by: flamesrock | last post by:
Firstly, this topic is NOT intended for trolling or starting any flame wars. I want to know if anyone has experience with these frameworks, and if so, how do they compare? Which one do you...
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
9
Niheel
by: Niheel | last post by:
I've used the following tutorials to help be get a better understanding of Ruby On Rails or ROR. Installing Ruby on Rails - Fedora / Lighthttpd Tutorial & Setup for Ruby on Rails Rolling with...
92
by: Ray | last post by:
I just moved to another company that's mainly a Java/.NET shop. I was happy to find out that there's a movement from the grassroot to try to convince the boss to use a dynamic language for our...
42
by: kenneth.m.mcdonald | last post by:
First, I don't intend this to be a flame war, please. Python and Ruby are the only two languages I'd willingly work in (at least amongst common languages), and TurboGears and Rails seem roughly...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.