[Python-Dev] Inline code in other languages

Paul Prescod paulp@ActiveState.com
Wed, 22 Aug 2001 16:19:19 -0700

Ka-Ping Yee wrote:
> It should be pretty feasible to do this for Python, i think, provided
> the sys module provides enough details about how Python was compiled
> and installed.

I agree!

The fundamental advantage of inline is that you don't have to worry
about refcounts and PyObjects but you also don't have to learn to use
SWIG. (SWIG might be helpful under the covers as the wrapper generator
technology...) It also removes the whole build step from projects that
want to wrap C code. This makes C extension wrapping much more Pythonic.
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook