Here we go, further down the road of Ruby2. Ko1 has a script up for compiling Ruby scripts to YARV bytecode! With or without optimizations.
He’s also started adding native thread support within the last few days. The YARVCore::VM::Thread comments show possibility for three independant threading modes.
YARV Thread Desgin
model 1: Userlevel Thread
Same as traditional ruby thread.
model 2: Native Thread with Giant VM lock
Using pthread (or Windows thread) and Ruby threads run concurrent.
model 3: Native Thread with fine grain lock
Using pthread and Ruby threads run concurrent or parallel.
As always, a very low bow in reverent subservience to Sasada. (More at the YARV page.)