develooper Front page | perl.perl6.internals | Postings from July 2002

Re: init_method_t for coroutines and subs?

Thread Previous | Thread Next
From:
Melvin Smith
Date:
July 7, 2002 19:57
Subject:
Re: init_method_t for coroutines and subs?
Message ID:
5.1.0.14.2.20020707225015.02dad388@pop.mindspring.com
At 12:48 PM 7/5/2002 -0400, Dan Sugalski wrote:
>At 10:39 PM -0400 7/3/02, Melvin Smith wrote:
>>At 09:51 PM 7/3/2002 -0400, Josh Wilmes wrote:
>>>I know there was some talk about this extra "address" parameter recently,
>>>but i'm not sure what the upshot of it is.  Right now, tcc is complaining
>>>loudly because the init functions for parrotsub and parrotcoroutine don't
>>>match the init_method_t type in the _vtable structure.
>>>
>>>What's the deal here?
>>
>>I made the PMC init method take an int argument sometime around
>>January, and at the time we agreed it would be useful to have polymorphic
>>constructors. Then it sort of silently got removed.
>
>Not quite silently, but yeah, pretty close. It got yanked because, while 
>they address a real problem (and one I missed) an int's not quite up to 
>the task. I'm not sure what is--I'm thinking property hashes, but they 
>seem pretty heavyweight.
>
>I like passing in init a parameter. We just need more than an int. :(

Then I propose we wait until Parrot is in beta to continue down this 
optimization
path. By that time we will have a much better idea of what makes sense.

-Melvin



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