> first candidate way is using compiler.

A general question for everyone - I would have thought it would be quite 
difficult to write a complier for Ruby, in the sense that your script 
gets translated to machine code. Ruby is very late-binding and weakly 
typed so you can't predict what is going to be going on at run time. I 
see some ostensible Ruby compilers on web searches but are they genuine? 
Would they do anything for execution speed?

-- 
Posted via http://www.ruby-forum.com/.