At 17 Oct 2006 16:05:40 -0700 holly.woodland at gmail.com wrote:
>> Hi All
>> Apologies in advance for the pretty basic question - but I can't seem
> to find an answer anywhere else.
>> I am developing a fluid sim in C++ and have heard that many people use
> Python in conjunction with C++ for this sort of thing (especially in
> games dev).
>> What I can't understand why you would want to do this. Obviously the
> core would be written in C++ (for my purposes anyway) so what parts
> would be written in Python? What is the benefit, in this situation, of
> using Python instead of C++?
>> thanks for your help
If they were using Python/Tk to develop a GUI, it makes sense (although
I would use Tcl/Tk, being a Tcl fan). In either case, SWIG can generate
the interface between C/C++ and Python/Tcl.
>> Holly
>>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller at deepsoft.com -- Contract Programming: C/C++, Tcl/Tk