develooper Front page | perl.perl5.porters | Postings from December 2013

Re: An article on writing Perl extensions without XS

Thread Previous | Thread Next
From:
Karl Williamson
Date:
December 17, 2013 20:22
Subject:
Re: An article on writing Perl extensions without XS
Message ID:
52B0B255.7010901@khwilliamson.com
On 12/17/2013 05:38 AM, bulk88 wrote:
> Zefram wrote:
>> The only part that's really tradition is the specific names of the
>> variables.  As I said, you wouldn't naturally reinvent the same names
>> if you were approaching the problem afresh.  (A lot of people would
>> come up with "items" and "sp", or at least names close to those, but
>> "ax" is utterly arbitrary.)  Outside the context of the code generated
>> by XS, we use the same names for these variables just because they're
>> the established names.
>>
>> -zefram
>
> I asked Larry in the flesh about what ax means, he didn't remember/know.
> I think/WAG it meant "array index", var ix, used for ALIAS: support
> means "interface index".
>

ISTR ax and ix being hardware register names in some assembly language 
on some platform

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