XS Mechanics

Posted on May 4, 2017. Filed under: Uncategorized | Tags: , , , |

XS Mechanics is an article in five parts about XS. It explains what it is, why it is, how it works, and how to use it. It includes a complete, working example of an XS module, and a stub module that you can use as a starting point for your own code. It is an express goal of this article to provide the background and information necessary for you to write your own XS modules.

  1. Introduction – motivation, definitions, examples
  2. Architecture – the Perl interpreter, calling conventions, data representation
  3. Tools – h2xs, xsubpp, DynaLoader
  4. Modules – Math::Ackermann, Set::Bit
  5. Align::NW – Needleman-Wunsch global optimal sequence alignment

Liked it here?
Why not try sites on the blogroll...