2010/5/27 Simone R. said:
I was thinking about the old days when IE was able to execute script
both in JS and VB.
Do you think can be a good idea to include in a web browser a Ruby VM to
execute client side script written in ruby?
Technically, yes - and in fact it has been attempted already. The
hard bit is to get enough momentum so there is a large enough
installation basis in clients so site developers will use it. It's a
catch 22 situation: if there are not enough client installations web
applications won't use it and if web applications do not use it people
have no reason to install the client extension. The only realistic
way out of this would be a Ruby VM that comes installed with a popular
browser. Even then the question remains whether this is sufficient to
win enough web site development teams over to using Ruby instead of
JavaScript which by now they know by heart. I don't think that
technical advantages of Ruby vs. JavaScript are not enough to make
this a realistic scenario. So, yes, it's a cool idea, I would like
it, too - but I assume this won't happen anytime soon, if at all.
Kind regards
robert