[PyQt] full speed, into a tar pit

Erik H ice.rikh at gmail.com
Fri May 2 15:58:17 BST 2014


Thanks for the info, Giuseppe.  I didn't realize PySide had gone through
using boost python; the developer discussions from the time are quite
interesting.

-Erik


On Fri, May 2, 2014 at 2:59 AM, Giuseppe Corbelli <
giuseppe.corbelli at copanitalia.com> wrote:

> On 02/05/2014 06:00, Erik Hvatum wrote:
>
>> Hey Phil,
>>
>> Do you think a qt interface in boost::python, ie a reimplementation of
>> pyqt  with boost python, could conceivably be usable? It seems likely the
>> .pyd/.so
>> files would be quite large, of course.
>>
>> I find myself mixing boost python and pyqt/sip a lot, and going the whole
>> hog crosses my mind now and then. So, while I'm not seriously considering
>> taking on this bestial and likely doomed task, I would find it
>> fascinating to
>> hear an expert's take.
>>
>
> I'm no expert too, but see here
>
> http://qt-project.org/wiki/PySide_Binding_Generator
> http://setanta.wordpress.com/2009/08/31/shiboken/
>
> In particular:
>
>
> Why did you switch from Boost.Python to Shiboken?
>
> The main reason was the size reduction. Boost.Python makes excessive use
> of templates resulting in a significant increase of the binaries size. On
> the other hand, as Shiboken generates CPython code, the resulting binaries
> are smaller.
>
>
> Seems that "quite large" is rather "too large".
>
> --
>             Giuseppe Corbelli
> WASP Software Engineer, Copan Italia S.p.A
> Phone: +390303666318  Fax: +390302659932
> E-mail: giuseppe.corbelli at copanitalia.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140502/c16ee229/attachment.html>


More information about the PyQt mailing list