How much of the rubyspec does hotruby implement?

Greetings,

Does anyone know how feature complete hot ruby is?
That is, how much of the rubyspec it implements?

Also, does anyone know if it uses 1.8 or 1.9 syntax?

Thanks,
Andrew McElroy
TryRuby.org

On Tue, Jul 20, 2010 at 3:38 PM, andrew mcelroy [email protected]
wrote:

Greetings,

Does anyone know how feature complete hot ruby is?
That is, how much of the rubyspec it implements?

Also, does anyone know if it uses 1.8 or 1.9 syntax?
I realize that it targets ruby 1.9. I don’t know why I asked this.

andrew mcelroy wrote:

Does anyone know how feature complete hot ruby is?
That is, how much of the rubyspec it implements?

I don’t know, but I have faint memories of reading an article which
mentioned that it didn’t even implement enough of Ruby to run the
specs, let alone pass them. Although that was a long time ago, and it
probably has significantly improved since then.

Also, does anyone know if it uses 1.8 or 1.9 syntax?

Neither, actually. HotRuby doesn’t run Ruby, it runs YARV bytecode.
So, if you can get your hands on a compiler that spits out YARV
bytecode, HotRuby runs it.

One such compiler is obviously the one built into YARV itself, which
implements Ruby 1.9, but there’s nothing stopping you from writing a
compiler which compiles Ruby 1.8 or indeed any language to YARV
bytecode. Indeed, I vaguely remember reading about a Lisp
implementation which targets YARV bytecode.

jwm