[C++-sig] Announce: PyBindGen 0.11 released

2009-07-12 Thread Gustavo Carneiro
To integrate some recent contributions, here's a new PyBindGen 0.11 release. About: PyBindGen is a Python bindings generator written in Python. Download: http://code.google.com/p/pybindgen/ Summary of changes: - Generate code that supports GCC's -fvisibility=hidden - Add rudimentary s

[C++-sig] Boost.Python is slow?

2009-07-12 Thread Tyomich on the AIR
Hello everyone! I'm currently embedding Python and have a problem. I have a struct (point) which looks like struct TPoint { int x, y; }; And I want it to be usable from Python. I made it in two ways: the first one was writing all the warpping by myself according to Python/C API, and the se

Re: [C++-sig] Boost.Python is slow?

2009-07-12 Thread Kamal Mansouri
For something like this, it would be better to write a function that performs the operation on the million+ Points in C++ and expose that function to Python. This would be a better alternative to both using Boost.Python or wrapping it by hand. Kamal > From: cadc...@narod.ru > To: cplusplus-s

Re: [C++-sig] Boost.Python is slow?

2009-07-12 Thread Tyomich on the AIR
> For something like this, it would be better to write a function that performs the operation on the million+ Points in C++ and expose that function to Python.  > This would be a better alternative to both using Boost.Python or wrapping it by hand.> > KamalProbably it would, but the point is to add