evgeny vovchenko
2011-Apr-22 17:08 UTC
[Ironruby-core] IronRuby to compile ruby code to assembly
Hello, 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 suppose. 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>
Jimmy Schementi
2011-Apr-24 13:24 UTC
[Ironruby-core] IronRuby to compile ruby code to assembly
This would be a great project for someone to pick up, though it is a large amount of work, it is highly needed for embedded scripting scenarios. And sounds like you''ll also be paid :) so if you have time and are a confident C# dev, my all means jump on this. ~Jimmy On Apr 22, 2011, at 1:08 PM, "evgeny vovchenko" <evgeny at rhomobile.com> wrote:> Hello, > > 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 suppose. > > > Best Regards, > Evgeny Vovchenko, Rhomobile. > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110424/e5ee83ba/attachment-0001.html>