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

Re: An article on writing Perl extensions without XS

Thread Previous | Thread Next
From:
bulk88
Date:
December 17, 2013 12:38
Subject:
Re: An article on writing Perl extensions without XS
Message ID:
BLU0-SMTP95B7948085B7046D172C11DFDB0@phx.gbl
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".

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