Jonathan Worthington wrote:
chromatic wrote:
On Monday 27 September 2010 at 12:03, Jonathan Worthington wrote:
However, at this point I'd be very surprised if we're still using
(in Rakudo) the Integer/Float PMCs for our Int/Num types after the
meta-model replacement lands.
What do Parrot's Int and Float PMCs need to be useful to Rakudo?
Sorry, I shoulda been a bit more explicit on the reasoning. The issue
isn't that they're not good enough, or that they need to change.
Rather, it's that as the meta-model design has started to come
together, I've mostly concluded they don't really fit in.
However, PMC inheritance today is really implemented as delegation -
something not in itself a problem [1], but a bit too heavyweight for
things as fundamental as Int and Num. The upshot today is that for an
Int we have:
Reference inclusion FAIL. I meant to add:
[1]
http://www2.parc.com/csl/groups/sda/publications/papers/Chiba-ISOTAS96/for-web.pdf
is essentially advocating a delegation-y approach to meta-class
extension/compatibility issues.
Jonathan
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev