in reply to Perl and C/C++ APIs

Have a look at Inline::C and Inline::CPP.

--
edan