IIRC, believe the SIP notation has a symbol (%) that tells it how to manage the 
ownership, whether it become python owned or is C++ owned. I am absolutely 
certain they have it, and it is some kind of decoration. I've not used SIP in a 
while.

Anyway, I am going to start my work in Jython using the Java version. If or 
when the CPython version comes about let me know. I should just need to 
reinvoke the code in that context and see how it compares.



________________________________
 From: Wim Dumon <w...@emweb.be>
To: witty-interest@lists.sourceforge.net 
Cc: Jason H <scorp...@yahoo.com> 
Sent: Friday, September 20, 2013 5:19 AM
Subject: Re: [Wt-interest] Where's the python love?
 


To be correct most of the binding work has been done by Geert, I only added the 
clang frontend and got the project up to date somewhere in Q1 of this year.

Doing the bindings ourselves, and encountering all difficulties (memory mgmt, 
thread handling, inheritance, object ownership, ...), I'm a bit sceptic that a 
generic purpose binding generator would solve them all out of the box. But as I 
said, I'm definately willing to take a look at SIP.


BR,
Wim.





2013/9/19 Rashad M <mohammedrasha...@gmail.com>

Hi All,
>
>
>I was waiting for Wim Dumon to make an announcement on the list regarding 
>PyWt. I myself and Massimo Di Stephano has tested the inital version. There 
>were some problem in compilation but Wim fixed it perfectly. Having dealt with 
>SWIG and SIP I would say (maybe Massimo too agrees) that the way Wim did 
>python bindings was excellent in my point of view. Well the good thing it 
>doesnt uses SWIG which as a lot of limitation and all dependecies of a library 
>of application X MUST  have SWIG binding to use it. One problem that still 
>blocking for us to have a Python version of OSSIMPlanet. Since OSG 
>SWIG,boost,SIP bindings are incomplete and those communities are inactive for 
>a long time, we were wandering in the dark.
>
>
>Ok. Lets come to PyWt. Its not using another "interface generator". (But the 
>model can be perttified and released as an awesome tool for generating C++ 
>wrappers for python). It parses using clang, extract docs from headers and 
>then generate some description classes. (*.cl).  These are parsed by simple 
>python scripts which generates C classes linked with Python C API. And finally 
>generated the .so and importing it in Python. 
>
>
>Tested all examples on a Linux Ubuntu 12.04 LTS x86_64.
>
>
>To sum up I would say Wim has done an excellent job in wrapping Wt to PyWt and 
>the way he did was much better.
>
>
>
>Thanks a bunch to him for the effort.
>
>
>
>On Thu, Sep 12, 2013 at 4:40 PM, Jason H <scorp...@yahoo.com> wrote:
>
>Well I considered it, and it will be the way to go forward now, until the 
>CPython work is done.
>>The Jython approach  I expect to be slow, much more scalable being that there 
>>is no GIL. Jython is the slowest of all the python engines. 
>>The CPython approach I expect to be faster, but not scale as well because of 
>>the GIL. However with the GIL, it is only python code itself that incurs the 
>>GIL, so the C++ library functions wrapped by Python will parallelize and be 
>>extremely fast.  CPython/Wt is also more portable. You conly need a C/C++ 
>>compiler and not a VM.
>>
>>
>>
>>
>>
>>________________________________
>> From: Pau Garcia i Quiles <pgqui...@elpauer.org>
>>To: Jason H <scorp...@yahoo.com>; "witty-interest@lists.sourceforge.net" 
>><witty-interest@lists.sourceforge.net> 
>>Sent: Wednesday, September 11, 2013 4:36 PM
>>
>>Subject: Re: [Wt-interest] Where's the python love?
>> 
>>
>>
>>What about jwt + jython + JVM?
>>
>>On Tuesday, September 10, 2013, Jason H <scorp...@yahoo.com> wrote:
>>> I was checking in with Wt and Will said back in February "good progress" 
>>> was being made for a Python port. Even if it is just Python-wrapped Wt, or 
>>> its own thing, I don't care. But I was wondering how it is coming?
>>> Seems like development heaven. Though I wonder how we could have an 
>>> interactive console for web development?
>>>
>>>
>>
>>-- 
>>Pau Garcia i Quiles
>>http://www.elpauer.org
>>(Due to my workload, I may need 10 days to answer)
>>
>>
>>
>>
>>------------------------------------------------------------------------------
>>How ServiceNow helps IT people transform IT departments:
>>1. Consolidate legacy IT systems to a single system of record for IT
>>2. Standardize and globalize service processes across IT
>>3. Implement zero-touch automation to replace manual, redundant tasks
>>http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>>_______________________________________________
>>witty-interest mailing list
>>witty-interest@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>
>
>
>-- 
>
>Regards,
>   Rashad
>------------------------------------------------------------------------------
>LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
>2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
>Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>_______________________________________________
>witty-interest mailing list
>witty-interest@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to