develooper Front page | perl.perl5.porters | Postings from February 2004

perlxstut update

Thread Next
From:
Marcus Holland-Moritz
Date:
February 29, 2004 13:27
Subject:
perlxstut update
Message ID:
20040229222651.5393f025.mhx-perl@gmx.net
I'm in the process of updating the perlxstut manpage. I was wondering
what to do with following two sections that have been unchanged for
almost five years now:

  =head2 EXAMPLE 7 (Coming Soon)
  
  XPUSH args AND set RETVAL AND assign return value to array

Does anyone know what the original author (Jeff?) intended to put
into that section? If not I'll just remove it.
  
  =head2 EXAMPLE 8 (Coming Soon)
  
  Setting $!

I'm not sure, but AFAIK the only way to set $! is to assign a value
to errno. In particular, this means that you cannot set the string
stored in $!. So I guess that is what should be documented in this
section.

I want to add at least 3 new sections:

* Speeding up your XS module

  How to improve the performance of speed-critical XS modules
  using PERL_NO_GET_CONTEXT and maybe other tricks.

* Making your XS module more portable with Devel::PPPort

  Explain what Devel::PPPort does and how to use it.

* Object-oriented XS

  How to implement a Perl class in pure XS.

Maybe I'll also add a section on how to implement a tying class,

Any other suggestions on what should probably go into this manpage?

Marcus

-- 
Two is not equal to three, even for large values of two.

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