[SciPy-User] Wrapping C/C++ Code
Tue Nov 3 09:23:03 CST 2009
The first thing to do is to expose an API from your program that your
script can access. It'll likely not be done as it was written with
one language in mind.
After that it's your call whether you want to embed or extend the
interpreter. For extending, IMHO, SWIG is your friend.
On Tue, Nov 3, 2009 at 4:46 PM, Lorenzo Isella <email@example.com> wrote:
> Dear All,
> I hope this is not too off-topic.
> If you were asked to wrap C/C++ codes into a Python application
> (potentially relying on NumPy/SciPy) which route would you follow?
> Bear in mind that the initial C/C++ code is a standalone program which
> was not written having Python in mind at all.
> Many thanks
> SciPy-User mailing list
Department of Physics
Indian Institute of Technology
More information about the SciPy-User