The Perl API for the Mortally Terrified

By Mike Friedman (‎friedo‎) from
Date: Saturday, 30 November 2013 12:00
Duration: 50 minutes
Target audience: Intermediate
Language: English
Tags: api c inline perl terror xs

Have you ever wanted to contribute to a Perl module, but were dismayed to find parts of it written in C? Do you want to optimize some slow code, but the letters XS make you tremble in fear? Maybe you just want to find out how Perl works under the hood, so you can sound smart when people start talking about HV *'s and mortalisation.

This presentation has just enough to get you started on your way to Perl guts hackery. Rather than an introductory (and not that useful) tutorial on setting up XS, this talk dives into how the Perl universe actually works. Don't know any C? Don't worry. We'll have a quick crash course to get you up to speed with what you need to know, then go over Perl's internal type system, the main API endpoints you'll need to understand, and the resources available to learn more.

Attended by: David Dorward, ribasushi +1, kevin dawson (‎bowtie‎), Daniel Collins (‎solemnwarning‎), Tony Edwardson, Anatolie Mazur (‎Mask‎), Johnathan Swan, Andy Jones, Richard Newsham (‎rnewsham‎), David Escribano, David Cantrell (‎DrHyde‎), Andrew Todd (‎Toddy‎), Martin Berends (‎mberends‎), Philluminati, Jan Tatham, Alistair Francis, stephen shorrock,



Active Securities


Bytemark Hosting

CV Library




magnum Solutions


Net-A-Porter Group


Petamem logo

Science Photo Library

      Systems Limited


Enlightened Perl Organisation

Perl6 Community

The Perl Foundation