combining large C-programme with Python

ian reinhart geiser geiseri at yahoo.com
Tue Oct 23 12:57:23 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 October 2001 12:47 pm, Pieter De Ceuninck wrote:
> Hello,
>
> I'd like to know if anyone can give some projects where existing C-code
> was modularized using Python. I'm planning to redesign (refactor) a
> large C-code with a new top-layer of Python and the necessary
> adaptations (as few as possible) in the underlying (numerical,
> scientific computing) C-code. I'm not talking about writing _new_
> scientific computing python-code with numpy or so, just using existing
> C-code.
> If no such projects are known, what would be a good way to refactor that
> huge code ? Complete re-implementation is not an option :-)
>
> thx,
> Pieter

SWIG and SIP are the two big ones.  SIP works great for C++ but lacks docs 
while SWIG seems a little harder to use, but is more flexable.  There is also 
some good docs in the python dist about Extending and Embedding python.

cheers
- -ian reinhart geiser
- -- 
========================================
It is now pitch dark.  If you proceed, you will likely fall into a pit.
========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE71aFzPy62TRm8dvgRAscqAKDcw27kqBW9SV1eL+Etn2cDC6uD9wCfRzwC
VFjjaQk3zi/WriBPF1oaS+4=
=Ikvn
-----END PGP SIGNATURE-----




More information about the Python-list mailing list