From: Adam Strzelecki Date: 2008-06-05T19:06:50+09:00 Subject: [ruby-core:17119] Re: Bytecode handling (compilation) extensions to Ruby 1.9 Hello again, Since there's no answer to my post :(, I just want to make sure that emit/load of bytecode is possible with Ruby 1.9. I know we can disasm any ruby program code with: $ ruby-1.9 --dump=insns hello.rb I'd like to try implementing VM seq serialization @ iseq.c VALUE ruby_iseq_serialize(VALUE self); /* VM seq -> bytecode */ VALUE ruby_iseq_unserialize(VALUE self); /* bytecode -> VM seq */ Then use those new functions to implement compilation, loading of VM bytecode. So if someone can tell me if it is waste of time because of something I may now know about YARV, please do. Regards, -- Adam Strzelecki |: nanoant.com :|