From: David Golden Date: Tue, 6 Oct 2009 20:02:53 +0000 (-0400) Subject: Expand on cookbook todo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b7d14ffe3988c7f70fd9dc76be9c44168d17a62;p=p5sagit%2Fp5-mst-13.2.git Expand on cookbook todo --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index b17ad9f..3519319 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -577,6 +577,16 @@ extracted from perlguts.) The target audience should be XS novices, who need more examples than perlguts but something less overwhelming than perlapi. Recipes should provide "one pretty good way to do it" instead of TIMTOWTDI. +Rather than focusing on interfacing Perl to C libraries, such a cookbook +should probably focus on how to optimize Perl routines by re-writing them +in XS. This will likely be more motivating to those who mostly work in +Perl but are looking to take the next step into XS. + +Deconstructing and explaining some simpler XS modules could be one way to +bootstrap a cookbook. (List::Util? Class::XSAccessor? Tree::Ternary_XS?) +Another option could be deconstructing the implementation of some simpler +functions in op.c. + =head2 Remove the use of SVs as temporaries in dump.c F contains debugging routines to dump out the contains of perl data