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