Erik's blog

Code, notes, recipes, general musings

barcamp san diego 5: “hotruby + jquery”

leave a comment »

– how to use ruby in the browser w/ using jquery
– history of js
— created by brendan eich in 1994
— based on scheme and lisp
— netscape got partnership w/ sun, so the language had to look like java
— IE duplicates it
— netscape tries to standardize it
— prototype -> implemented -> deployed -> standardized very quickly

– js is not dead yet
— most common platform (now on server w/ rhino)
— the most common programming lang
— the lang of the internet
— most problems aren’t so bad

– hotruby
— may be more performant than interpreted ruby
— write in ruby, compile it, and exec it in js vm
— not much changed after 2007
— original hotruby on github
— takes ruby bytecode as an input and runs it via js in the browser(!)
— now plugin req’d

– speaker’s work
— speaker has been updating it to ruby 1.9.1
— app.srtd6.com/compile
— run this and look at response in firebug to see ruby bytecode
— sends text boxt content to server, compiles it to ruby bytecode, sends it back, and runs it using hotruby interpreter
— will run in all browsers
— look for “hotruby” in github.com/strd6/

Advertisements

Written by Erik

May 31, 2009 at 3:00 pm

Posted in notes

Tagged with , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: