--20cf30780d9e225acc04af86d243 Content-Type: text/plain; charset=ISO-8859-1 Thanks Naruse for answering- I guess the endpoint in some sense would become more similar to java with distributed bytecodes. I am not sure if you know the answer to this I do recall a project by MS quite some time back (think I read about it in a book called Generative Programming) where they had a system which allowed for reflectiion and manipulation of the compiler- but what is the motivation for this? On Tue, Oct 18, 2011 at 9:22 AM, NARUSE, Yui <naruse / airemix.jp> wrote: > 2011/10/18 Carter Cheng <cartercheng / gmail.com>: > > bytecode support(does this mean the newer versions of ruby will support > > fixed bytecodes or will bytecodes be inspectable via the ruby system > itself) > > Ruby 1.9 uses a VM (a.k.a. YARV). > A given script is parsed and compiled as a bytecode, and runs with the VM. > > "Bytecode export" means to support exporting the bytecode, and import > and run the bytecode. > It reduces the parse phase and compile phase. > > Bytecode inspectation, dissembler for the Ruby VM, is already bundled: > % ruby -e'puts RubyVM::InstructionSequence.compile(%q[p 1+2]).disasm' >