Maintaining Perl 5 Core (Dave Mitchell): June 2024
Thu, 11-Jul-2024 by
alh
edit post
Dave writes:
This is my monthly report on work done during June 2024 covered
by my TPF perl core maintenance grant.
I spent most of last month continuing to work on understanding XS and
improving its documentation, as a precursor to adding reference-counted
stack (PERL_RC_STACK) abilities to XS.
This work is a bit frustrating, as I still haven't got anything publicly
to show for it. Privately however, I do have about 4000 lines of notes on
ways to improve the documentation and the XS parser itself.
I have also been going through the Extutils::ParseXS' module's code line
by line trying to understand it, and have (so far) added about 1000 new
lines of code comments to ParseXS.pm, which is nearly ready to be pushed.
This has involved a lot of code archaeology, since much of the code is
obscure. I have even discovered XS keywords which have been implemented
but aren't documented (such as "ATTRS:" and "NOT_IMPLEMENTED_YET").
I have also dug out the xsubpp script from the 1994 perl5.000 release and
from time to time run it against some sample XS constructs. Amazingly, it
still runs under a modern perl (although I didn't check whether the C
code it outputs is still compilable).
SUMMARY:
* 1:38 process p5p mailbox
* 53:30 rework XS documentation
Total:
* 55:08 (HH:MM)
Comments (0)