Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Gustavo Carneiro
2008/11/1 Alan Baljeu <[EMAIL PROTECTED]> > 2008/11/1 Greg Landrum <[EMAIL PROTECTED]> > <<< > My opinion is biased, of course, but I use PyBindGen, usually with the help > of pygccxml for automatic scanning. I recommend PyBindGen for people that > dislike the kind of C++ template abuse that boos

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Alan Baljeu
2008/11/1 Greg Landrum <[EMAIL PROTECTED]> <<< My opinion is biased, of course, but I use PyBindGen, usually with the help of pygccxml for automatic scanning. I recommend PyBindGen for people that dislike the kind of C++ template abuse that boost.python does. Of course I also recommend anyone

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Alan Baljeu
On Sat, Nov 1, 2008 at 3:32 AM, Alan Baljeu <[EMAIL PROTECTED]> wrote: >> My first impression of Py++ is that it generates stuff for Boost.Python to >> use to connect >>Python to C++. To get it going I also need to introduce GCC, and probably >>Cygwin. That seems like a lot of layers. Does th

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Gustavo Carneiro
2008/11/1 Paul Melis <[EMAIL PROTECTED]> > Gustavo Carneiro wrote: > > > > There's an interesting question about whether it's better to use > > boost.python or SWIG. I've been using boost.python for years, so I > > have a lot invested in it, but if I were starting from scratch, I > >

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Paul Melis
Gustavo Carneiro wrote: > > There's an interesting question about whether it's better to use > boost.python or SWIG. I've been using boost.python for years, so I > have a lot invested in it, but if I were starting from scratch, I > might consider using SWIG because it gives you the

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Gustavo Carneiro
2008/11/1 Greg Landrum <[EMAIL PROTECTED]> > On Sat, Nov 1, 2008 at 4:48 AM, Alan Baljeu <[EMAIL PROTECTED]> wrote: > > > > It was a personal question. Do you specifically do much wrapping stuff > or not? I'm > > trying to gauge your approach compared to how much you do it. I mean, if > I had >

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Greg Landrum
On Sat, Nov 1, 2008 at 4:48 AM, Alan Baljeu <[EMAIL PROTECTED]> wrote: > > It was a personal question. Do you specifically do much wrapping stuff or > not? I'm > trying to gauge your approach compared to how much you do it. I mean, if I > had > to wrap one C++ function I would of course use th

Re: [C++-sig] new to python; old to C++

2008-11-01 Thread Roman Yakovenko
On Sat, Nov 1, 2008 at 3:32 AM, Alan Baljeu <[EMAIL PROTECTED]> wrote: > My first impression of Py++ is that it generates stuff for Boost.Python to > use to connect Python to C++. To get it going I also need to introduce GCC, > and probably Cygwin. That seems like a lot of layers. Does this no