Re: Ruby has to be interpreted line by line in runtime, does this affect Ruby's execution efficiency badly?
by Ron Fox other posts by this author
May 8 2008 5:30AM messages near this date
Re: Why can't I redefine "<<" method to allow two parameters
|
TDD with Ruby
Interpreters have advantages and disadvantages.
Interpreted languages can implement dynamic features that can be
very difficult to implement in compiled languages. Interpreted
languages tend to be slower than compiled languages however.
I think that what you may see in the future for Ruby, if it does
not exist yet, is some sort of internal byte code representation of
the parsed lines and a one-time just-in-time parser that will
remove a lot of the line by line parse overhead.
This seems to be the standard evolution of scripted languages.
RF
Erwin Moller wrote:
> Why doesn't the inventor design a better approach to avoid this
> problem?
|