# IronRuby to compile ruby code to assembly

**URL:** <https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118>\
**Category:** IronRuby\
**Created:** [April 22, 2011, 7:41pm UTC](https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118 "2011-04-22T19:41:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [April 22, 2011, 7:41pm UTC](https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118/1 "2011-04-22T19:41:12Z")

</div>

Hello,

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

“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.

---

<div class="post-metadata">

**Author:** ![evgeny\_vovchenko](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/fbc32d/32.png) [@evgeny\_vovchenko](https://www.ruby-forum.com/u/evgeny_vovchenko)\
**Post date:** [April 24, 2011, 3:48pm UTC](https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118/2 "2011-04-24T15:48:37Z")

</div>

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
