Efficient data flow between orthogonal C extensions?

Robin Becker robin at jessikat.fsnet.co.uk
Thu Jun 5 03:55:58 EDT 2003


In article <87el29rpmv.fsf at smtp.gsi.de>, Pierre Schnizer
<P.Schnizer at nospam.gsi.de> writes
>mlh at furu.idi.ntnu.no (Magnus Lie Hetland) writes:
>
>> I'm about to write a component-based data flow program, and I'm
>> pondering the design, partly when it comes to efficiency. Basically,
>> the system will instantiate a set of objects, set up in a directed
>> network-like structure, and they will pass data among themselves in a
>> stream-like fashion.
>> 
>If you are using callbacks, you can wrap the callbacks with swig. While swig
>will not generate helpers to call python functions from C, you can pass
>pointers to C functions.
>http://www.swig.org/Doc1.3/SWIG.html#n30
>
>
>Pierre
I believe Bernhard Herzog's Sketch drawing editor does stream like
transfers between extensions.
-- 
Robin Becker




More information about the Python-list mailing list