Brian Ingerson here. I wrote Inline.pm. The best way to describe it is that you can now write Perl subroutines/methods in other programming languages, and just run your Perl script like usual. No makefiles, compiling, special "glue" syntaxes, or extra files. You can even write one liners like:
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf("Just Another %s Hacker",x);}};print JAxH("Perl")'
Inline currently supports C, C++, Python, Java, and even a handful of Assembly languages. The list will grow, because Inline has been setup as a framework to allow anyone to bind their favorite language to Perl. In fact, all of the languages besides Inline::C were written by other programmers.
Neil Watkiss, the author of Inline::Python, is planning on writing Inline functionality *for* Python. If done right, this might allow Python to make use of many of the CPAN modules. Stay tuned.
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf("Just Another %s Hacker",x);}};print JAxH("Perl")'
Inline currently supports C, C++, Python, Java, and even a handful of Assembly languages. The list will grow, because Inline has been setup as a framework to allow anyone to bind their favorite language to Perl. In fact, all of the languages besides Inline::C were written by other programmers.
Neil Watkiss, the author of Inline::Python, is planning on writing Inline functionality *for* Python. If done right, this might allow Python to make use of many of the CPAN modules. Stay tuned.
For more information you can read a recent article at http://www.perl.com/pub/2001/02/inline.html
To get involved join the inline@perl.org mailing list. See http://lists.perl.org/showlist.cgi?name=inline for details.
Cheers, Brian