The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
No Ruby in the Browser

1 reply on 1 page. Most recent reply: Jan 10, 2006 1:52 PM by Obie Fernandez

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Obie Fernandez

Posts: 608
Nickname: obie
Registered: Aug, 2005

Obie Fernandez is a Technologist for ThoughtWorks
No Ruby in the Browser Posted: Jan 10, 2006 1:52 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Obie Fernandez.
Original Post: No Ruby in the Browser
Feed Title: Obie On Rails (Has It Been 9 Years Already?)
Feed URL: http://jroller.com/obie/feed/entries/rss
Feed Description: Obie Fernandez talks about life as a technologist, mostly as ramblings about software development and consulting. Nowadays it's pretty much all about Ruby and Ruby on Rails.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Obie Fernandez
Latest Posts From Obie On Rails (Has It Been 9 Years Already?)

Advertisement

Paul Hammant blogs (under the influence of several Jack'n Cokes) that we need Ruby execution in the browser. I repeat "no, thanks".

I think JavaScript in the browser is mature and good enough. If you find JavaScript too constraining when trying to shoehorn rich-client functionality into a browser, that's probably a good indicator that you should move to XUL or some other rich-client alternative.

Having Ruby available as a native scripting alternative to JavaScript in the browser would be interesting, cool even, but the chances of that happening and being widely-available enough to actually use it are so remote that right now I don't even think it's worth speculating about.

Theoretically, it would be fairly simple to write a Ruby Plugin that lives in an ActiveX/XPCom object container, bringing JPI (Java Plugin) style support for Ruby in the browser. Two significant issues would make that effort rather pointless IMO. One is the distribution issue -- people don't like downloading extensions to their browsers. The wide default distribution of Flash support in browsers is the main reason that plugin dominates the marketplace. As Paul mentions in his post, I wrote a lot of JPI-based stuff at MediaOcean and we found deployment and versioning to be a nightmare on so many fronts that I probably shouldn't discuss the matter publicly.

In particular, I suspect a browser-plugin for Ruby would be a bad thing in the long run if it detracted or stole mindshare from the great Prototype/Scriptaculous integration we have in Rails.

Read: No Ruby in the Browser


Greg Lorriman

Posts: 5
Nickname: ashtray
Registered: Feb, 2004

Re: No Ruby in the Browser Posted: Jan 11, 2006 4:27 PM
Reply to this message Reply
The one thing i can't stand being without is structured exception handling (like ruby, delphi and java-without-checked-exceptions). There are a bunch of other things Javascript hasn;t really got, but thats the one I miss the most.

And so I'll only write javascript out of necessity.

The issues you highlight are a problem, but so is javascript.

Flat View: This topic has 1 reply on 1 page
Topic: Phoenix Ruby Users Group this Monday Previous Topic   Next Topic Topic: Generating the feed list

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use