XS Recipes

By Vincent Pit (‎vincent‎) from Paris.pm
Date: Wednesday, 5 August 2009 09:35
Duration: 40 minutes
Target audience: Technical Perl
Language:
Tags: guts hack perl5 xs


XS is the folkloric syntax that glues Perl and C together. It scales from interfacing with C libraries to expanding Perl syntax from outside the core.

This talk will first give a practical approach to the writing of an XS extension, especially on what you will need to start working with it and the key points of the the perl API. We'll proceed with dicussing more technical points, such as portability and thread safety. The last part will roughly demonstrate how some trendy modules get their magic done, which will shed some light on high-end techniques like compile-time and run-time hooks.

Attendants will get the best out of this talk if they have some prior basic C knowledge.

Attended by: