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!