. .

YAPC::EU 2010 - The Renaissance of Perl

 

Follow


XS++ - Bonding Perl and C++ with minimal pain

XS++ - Bonding Perl and C++ with minimal pain

By Steffen Mueller from AmsterdamX.pm
Date: Wednesday, 4 August 2010 15:00
Duration: 20 minutes
Target audience: Intermediate
Language: English
Tags: c glue xs

You can find more information on the speaker's site:


Everyone seems to know that the obscure mini-language called "XS" is the standard way to wrap a C library for use in Perl code. Curiously, the mere thought of XS appears to strike fear in the heart of experienced developers. To add insult to the injury, the use of plain XS to wrap C++ code is barely documented.

Mattia Barbon must have had similar thoughts when he wrote the Wx bindings for Perl, thus XS++ was born. It offers a friendlier syntax for wrapping C++ classes and methods that is reminiscent of plain C++ headers with some annotations to fine-tune the Perl-facing API. It automatically converts C++ exceptions to Perl exceptions and helpfully takes care of many of the hoops one would ordinarily have to jump through.

The presentation introduces the audience to XS++.
Some advanced topics covered may require modest familiarity with XS or C++, but the basic concepts should be accessible to intermediate Perl programmers.


Attended by: Steffen Schwigon (‎renormalist‎), Clinton Gormley (‎DrTech‎), Salvador Fandiño (‎salva‎), John Scoles (‎byterock‎), Vincent Pit (‎vincent‎), Alan Haggai Alavi (‎alanhaggai‎), Leon Timmermans (‎leont‎), Nicholas Clark, Florian Ragwitz (‎rafl‎), Steffen Mueller, Shmuel Fomberg, David Leadbeater (‎dg‎), Sawyer X (‎Sawyer X‎), Francesco Rivetti (‎oha‎), Stefan Seifert (‎Nine‎), Roman Baumer (‎rba‎), Antonio Caria, simotrone, Nuno Carvalho (‎smash‎), Jörg Plate (‎Patterner‎), Marco Fontani (‎mfontani‎), Olivier Mengué (‎dolmen‎),

Our sponsors

Platinum

  • Booking.Com
  • YAPC::Europe 2009
  • cPanel

Gold

  • Shadowcat
  • 123 people
  • Venda
  • Dada

Silver

  • YAPC::Europe Foundation
  • Smart Open Software
  • MySQL
  • Exonetric
  • pair Networks

Supporters

  • GitHub
  • Italpro
  • Geoesse
  • $foo Perl Magazin
  • Lokku
  • Apress
  • No Starch Press
  • O'Reilly Media
  • NET-A-PORTER

Media Partners

  • Linux Magazine

Patronage

  • Regione Toscana
  • Comune di Pisa