← Back to team overview

dolfin team mailing list archive

Boost Python

 


Hi,

I've seen some discussion recently on this list about using SWIG.

I was curious if Boost Python has been considered, and why the DOLFIN developers had decided to go with SWIG over the other options.

I have used Boost Python some. It is very powerful, though I think it is more manual in its approach than SWIG. The major problem with using it is the rather inadequate documentation. I have figured out how to use much of it through guesswork and experimentation. Once one figures it out, it works very well. It has a very complete C++ interface with Python. There is also a Boost Python code generator called Pyste.
                                                                  Faheem.



Follow ups