XS Recipes

XS Recipes

By Vincent Pit (‎vincent‎) from Paris.pm
Date: Wednesday, 5 August 2009 09:35
Duration: 40 minutes
Target audience: Technical Perl
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: Sébastien Aperghis-Tramoni (‎Maddingue‎), Tiago Pedroso, Bernhard Schmalhofer (‎bernhard‎), Laurent Dami (‎dami‎), Giuseppe Maxia (‎gmax‎), Chia-liang Kao (‎clkao‎), H.Merijn Brand (‎Tux‎), Abigail, Tom Hukins, osfameron, Enrique Nell (‎e-nell‎), Salvador Fandiño (‎salva‎), Arjen Laarhoven, Pedro Melo (‎melo‎), Hermen Lesscher (‎hermen‎), Bálint Szilakszi (‎szbalint‎), Andrew Ford, Henrik Tougaard (‎htoug‎), Tobias Henoeckl (‎hoeni‎), Roman Baumer (‎rba‎), Damon Davison (‎allolex‎), Sue Spence (‎virtualsue‎), Elizabeth Mattijsen (‎liz‎), Olivier Mengué (‎dolmen‎), Luis Motta Campos (‎LMC‎), Jörg Plate (‎Patterner‎), Florian Ragwitz (‎rafl‎), Renee Bäcker (‎reneeb‎), Aristotle, Peter Makholm (‎brother‎), Jan Henning Thorsen (‎batman‎), Thomas Heine, Bogdan Lucaciu (‎zamolxes‎), Joel Bernstein (‎joel‎), Clinton Gormley (‎DrTech‎), Edmund von der Burg (‎evdb‎), Thomas Netousek, Emmanuel Rodriguez (‎potyl‎), Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (‎daxim‎), Rafaël Garcia-Suarez (‎rgs‎), Marcel Grünauer (‎Marcel‎), Mark Morgan, Maciej Czekay (‎Bruno‎), Ruslan Zakirov (‎ruz‎), oleber, Michael Zedeler (‎mzedeler‎), Hugo Costa, Stig Palmquist (‎stigtsp‎), Joerg Meltzer (‎codeacrobat‎), Vincent Pit (‎vincent‎), Stan Sawa, Franck Cuny, Fernando Vezzosi (‎Bucciarati‎), Solli Honorio (‎shonorio‎), Jose Celestino (‎japc‎), Mark Stewart, Frederico Recsky (‎Frederico‎), Alexandru Nedelcu, Cosmin Budrica (‎cosmincx‎), Adrian Arnautu, Thierry Douez (‎tdz‎), João Carreira, David Fernández, Jose L. Hernandez, Carlos Juan Diaz (‎cjuan‎), Oskari Ojala (‎Okko‎),