Python -> C++ compilation

Oleg Broytmann phd at phd.fep.ru
Sun May 27 15:15:22 EDT 2001


On Sun, 27 May 2001, Roman Suzi wrote:
> 0. Convince management on using Python (see #3 also)
> 1. Write in Python then automatically compile into C++ using some
> tool
> 2. Write Python program for C++ code generation
> 3. Embed Python (not easy even though Python is Free!) and have fun
> 4. Give up Python

   5. Extend Python with modules written in C and/or C++. There are tools
lokw SWIG, SCXX and BoostPython that make life easier. There are good
libraries that already have Python wrappers - Boost and txObjects, e.g.

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list