Getting started with XS

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

Part 1: Getting started with XS
Part 2: Writing your own XS functions
Part 3: XS utility routines that are good to know

eXtendable Subroutines (XS) are subroutines written in C that are callable from Perl code. There are two common reasons you’d want to use XS: there is a C library you’d like to use with Perl, or you want to make a subroutine faster by processing it in C instead of Perl.

This tutorial will walk you through all the components needed to get up and running with a basic XS example.

Also see /r/perl discussion of part 1, part 2 and part 3

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