diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-09-17 19:50:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-09-17 19:50:47 +0000 |
commit | 7b787a03e2500b8cf2801ba88cd751e76cf7ad34 (patch) | |
tree | 69c2b5143b103c2cda0f5039d44016d3010f19b0 /pod/perltodo.pod | |
parent | ef1bd5b76af3ee7ed9a6c436e60ad82bdf6695ce (diff) | |
download | perl-7b787a03e2500b8cf2801ba88cd751e76cf7ad34.tar.gz |
refactoring xsubpp should have been in the "just perl" section.
p4raw-id: //depot/perl@25452
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r-- | pod/perltodo.pod | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 6fe1fd66ec..b14ae9808d 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -86,6 +86,20 @@ Ilya observed that use POSIX; eats memory like there's no tomorrow, and at various times worked to cut it down. There is probably still fat to cut out - for example POSIX passes Exporter some very memory hungry data structures. +=head2 Refactor C<xsubpp> to be a thin wrapper around C<ExtUtils::ParseXS> + +C<ExtUtils::ParseXS> encapsulates a version of the C<xsubpp> into a module. +In effect this is a code fork, and it's likely that C<xsubpp> has had some +bug fixes since the code from C<ExtUtils::ParseXS> was derived. It would be +good to merge the differences in, reduce down to 1 canonical implementation, +and convert C<xsubpp> to a very thin command line wrapper to +C<ExtUtils::ParseXS>. + +In theory this needs no real C knowledge, as one way of approaching this task +is to ensure that C<ExtUtils::ParseXS> generates identical output to C<xsubpp> +for input XS files, which does not require understanding the contents of the +output C file. However, some C knowledge is likely to help with testing, and +locating/producing comprehensive test cases. @@ -227,22 +241,6 @@ that this is due to incomplete dependency specification in the F<Makefile>. It would be good if someone were able to track down the causes of these problems, so that parallel builds worked properly. -=head2 Refactor C<xsubpp> to be a thin wrapper around C<ExtUtils::ParseXS> - -C<ExtUtils::ParseXS> encapsulates a version of the C<xsubpp> into a module. -In effect this is a code fork, and it's likely that C<xsubpp> has had some -bug fixes since the code from C<ExtUtils::ParseXS> was derived. It would be -good to merge the differences in, reduce down to 1 canonical implementation, -and convert C<xsubpp> to a very thin command line wrapper to -C<ExtUtils::ParseXS>. - -In theory this needs no real C knowledge, as one way of approaching this task -is to ensure that C<ExtUtils::ParseXS> generates identical output to C<xsubpp> -for input XS files, which does not require understanding the contents of the -output C file. However, some C knowledge is likely to help with testing, and -locating/producing comprehensive test cases. - - |