develooper Front page | perl.perl6.language | Postings from February 2005

Re: How are types related to classes and roles?

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
February 28, 2005 22:52
Subject:
Re: How are types related to classes and roles?
Message ID:
200502281820.j1SIK6V04268@thu8.leo.home
Thomas Sandlaß <Thomas.Sandlass@orthogon.com> wrote:

> The opcodes for 'callmethod_MMD_3_sig "func"' and 'callmethod_MMD_n
> "func", n' are simply not there yet, right?

No. The problem is that at function call time there is no indication
that a MMD subroutine should be called. So Parrot will just do a full
MMD search, if no other indication is there that it's just a plain
subroutine.

Another problem is language interoperbility. As e.g. python has no
syntax for MMD, above opcodes would be useless - Python wouldn't be
able to call any of the MMD builtins.

leo

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About