[Mono-list] Making a ruby.net compiler
Miguel de Icaza
08 May 2003 18:24:39 -0400
> Sure, but no CIL implementations thus far are capable of making more
> significant changes, such as changing data representations to replace a
> class hierarchy with the use of tag bits for representing discriminated
> unions. Nor does it look like we'll see this in the near future.
That sounds complex.
But if you want bits to flag types, you might as well just use those
bits and pointers and deal with those in the same way a traditional
computer would. Bonus points if you encapsulate your requirements in a
class that we can later sort out how to inline.
> IMHO those are the kind of changes that would be required for
> optimal performance for dynamic languages.
Lets get on with the studies then!