Good news, bad news
Charles Oliver Nutter
headius at headius.com
Thu May 26 03:33:53 PDT 2011
On Thu, May 26, 2011 at 5:25 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> Charles,
> why do you use IRubyObject exactly ?
> why not using Object instead ?
>
> I use Object in PHP.reboot and see no problem.
Legacy, mostly... JRuby still supports Java 5 and 6, which limits how
specialized we can make call paths. Requiring that everything be
IRubyObject means we always have only a single invokeinterface to
retrieve metaclass, access "instance variables", and so on.
JRuby designed from scratch today would certainly use Object.
- Charlie
More information about the mlvm-dev
mailing list