O'Reilly Open Source Convention
oreilly.comO'Reilly Network
ConferencesSoftwareInternational


Arrow Home
Arrow Registration
Arrow Hotel/Travel
Arrow See & Do
Arrow Tutorials
Arrow Sessions
Arrow Evening Events
Arrow BOFs
Arrow Speakers
Arrow Press
Arrow Mail List
Arrow Exhibitors
Arrow Sponsors
Innovate--Collaborate--Discover
O'Reilly Open Source Convention
Sheraton San Diego Hotel, San Diego, CA
July 23-27, 2001

News Coverage

Tutorial

Perl Programming with C & C++ Using Inline.pm

Brian Ingerson, Free Agent, Social Text, Inc.

Track: Perl Conference 5
Date: Tuesday, July 24
Time: 1:45pm - 5:15pm
Location: Grande Ballroom B

Target Audience
This tutorial is intended for anyone who wants to use C or C++ in their Perl programming. The easy way! If you have an intermediate understanding of Perl, and a thorough knowledge of the program hello_world.c, you are fully qualified for this class. If you need to speed up your favorite Perl script, make use of some existing C library, or write an extension module for the CPAN, this tutorial is for you. Even if you are a seasoned XS hack, Inline is a great way to make your code fathomable to the rest of us.

What Attendees Will Learn
Inline.pm is a new module that glues other programming languages to Perl. It allows you to write C and C++ code directly inside your Perl scripts and modules. The Inline experience is similar to that of Perl itself. You simply write your code and run it. Inline will silently take care of all the messy implementation details and ``do the right thing''.

Attendees of this tutorial will learn:

  • Syntax, usage, and configuration of Inline.pm.
  • How to write Perl subroutines in C.
  • How to expose external C functions to Perl.
  • How Inline works. Including a detailed look at its Parse::RecDescent grammar.
  • Basic Perl internals.
  • How to use typemapping to modify/extend Inline's functionality.
  • How to write complete extension modules for CPAN distribution.
  • How to create precompiled binary distributions.
  • How to use and create Inline-enabled modules like Event.pm.
  • Object Oriented and CGI issues.
  • How to bind Perl to C++.
  • Discussion of many concise yet functional examples.

oreilly.com Home | Conferences Home | Open Source Convention Home
Registration | Hotels/Travel | Tutorials | Sessions | Speakers
Press | Mail List | Exhibitors | Sponsors


© 2001, O'Reilly Media, Inc.
conftech@oreilly.com