[Ironruby-core] IronRuby to compile ruby code to assembly

evgeny vovchenko evgeny at rhomobile.com
Fri Apr 22 13:08:39 EDT 2011



Rhomobile company (rhomobile.com) is looking for contractor developer who is
familiar with IronRuby code to implement SavableScriptCode for IronRuby.
Here is comment from Tomas Matousek :


"SavableScriptCode provides basic infrastructure for serializing compiled
expression trees to an assembly. IronPython uses this. To make this work the
language needs to ensure that the expression trees it produces only refer to
live objects (constants) that are IExpressionSerializable. IronRuby trees
hold on various method objects, RubyContext instance, not yet compiled Ruby
AST, dynamic sites, constant lookup caches, etc. All these need to support
serialization. I haven't done the work that's necessary to make all this
work but this would be the way to go about it."


Why we need it?


Rhomobile is developing Rhodes - open source mobile platform based on Ruby.
Now we are supporting Windows Phone 7. Iron Ruby works fine on the device,
except the startup time, which is slow (8-9 sec).


At startup time we load bunch of ruby files, and create some objects, so if
text parsing can be done at build time when startup should be faster we



Best Regards,

 Evgeny Vovchenko, Rhomobile.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110422/12aa9fc2/attachment-0001.html>

More information about the Ironruby-core mailing list