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

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
O'Reilly Open Source Convention
Sheraton San Diego Hotel, San Diego, CA
July 23-27, 2001

News Coverage


Pathologically Polluting Perl with C, Python and Other Rubbish using Inline.pm

Brian Ingerson, Free Agent, Social Text, Inc.

Track: Perl Conference 5
Date: Wednesday, July 25
Time: 3:45pm - 4:30pm
Location: Grande Ballroom C

No programming language is Perfect. Sometimes it just makes sense to use another language. Wouldn't it be great to use Perl most of the time, but be able to invoke something else when you had to? Inline.pm is a new module that glues other programming languages to Perl. It allows you to write C, C++, and Python 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''. It analyzes your code, compiles it if necessary, creates the correct Perl bindings, loads everything up, and runs the whole schmear. Now you can write functions, subroutines, classes, and methods in other languages and call them as if they were Perl. All in the privacy of your own script!

This talk is a whirlwind tour of the world of Inline. You'll see:

  • Complete C extensions in one line of Perl!
  • Perl glued to total strangers like Python and Java!
  • How to run a plain C program without compiling it!
  • How almost any programming language can be bound to Perl!

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.