home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


18.7 Resources

  1. SWIG. David Beazley.

    Download freely from http://www.swig.org/ . SWIG is packaged with around 200 pages of wonderful tutorial-style documentation, containing plenty of interesting examples. While you are there, please take a look at Dave's papers on applying SWIG to large-scale projects.

  2. perlxstut , by Jeff Okamoto, and perlxs , by Dean Roehrich.

    These two standard Perl documents provide a tutorial and a reference, respectively, for XS. You must be conversant either with Chapter 20 or the Perl internals documentation ( perlguts ). (The former is a slightly gentler introduction.)

  3. Standard extensions

    The Socket, POSIX, and SDBM modules supplied with the Perl distribution make good case studies for applying XS.

  4. XS Cookbook. Dean Roehrich.

    These cookbooks are available from CPAN (look under the authors/Dean_Roehrich directory) and provide solutions to a number of sample problems covering all XS features. Highly recommended. You may also find it a good exercise to solve these problems using SWIG.

  5. The Mathematical Tourist . Ivars Peterson. W.H.Freeeman and Co., 1988

  6. GD library for rendering into GIF files. Tom Boutell. Download from http://www.boutell.com/ .