From: andrew mcelroy on 20 Jul 2010 16:38 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
From: andrew mcelroy on 20 Jul 2010 16:48 On Tue, Jul 20, 2010 at 3:38 PM, andrew mcelroy <sophrinix(a)gmail.com> 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. > > Thanks, > Andrew McElroy > TryRuby.org > >
From: Jörg W Mittag on 20 Jul 2010 19:54 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
|
Pages: 1 Prev: Can't get ruby 1.9 to work after install on OSX Next: RubyGems |