Charles Oliver Nutter wrote:
I just finished up compilation on BEGIN and END blocks, which brings the compiler to completion. I've also successfully been able to compile the entire standard library and run IRB and RubyGems entirely off compiled scripts (i.e. I deleted all the .rb files).

OptN doesn't compile and never will; we will just wrap script execution with the appropriate logic. I'll monkey with that later; nobody uses -n that I know of.

RubyGems seemed to start up quite a bit slower than with the interpreter, so I'll do some investigation on that. And there's scads of optimizations left to do in the compiler and in the load sequence. But any work after this will be bug fixing and optimization.

The Compiler Is Complete.

(and I have first dibs on blogging it)

- Charlie
Good work!

I was thinking if the slowness of loading is because of all the class loaders used... Would it make sense to let the standard library run with the same class loader, you think? And in the same manner, when we're talking about compiling RubyGems on installation, having the same class loader for the whole gem seems to make sense, neh?

Cheers

--
Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)

"Yields falsehood when quined" yields falsehood when quined.



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to