[Twisted-Python] C++ port of Twisted

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Jun 12 05:38:02 MDT 2007


Hello,

2007/6/12, 甜瓜 wrote:
> > > I love python and I find twisted fantastic, but here I have to write a
> > > C++ application, for performance pseudo-reasons :-(
> >
> > It's not an option to write part of the application in C++ and part in Python?
>
> Well, I don't think performance is the issue to rewrite twisted into
> C/C++ code. The burden given by python/twisted is very low, because
> twisted is much like a framework rather than computational-intensive
> library. For high performance, you'd better write most of your code in
> C++, and compiled into pyd extension module. Then you can use twisted
> to "glue" the good framework and your high performance code.

The problem is that I cannot use python yet:
The application already exists, and is a big Windows MFC project in C++.

I am trying to use the Twisted approach in a C++ application.
And so far it works... I just would like to know whether I am
reinventing the wheel.

-- 
Amaury Forgeot d'Arc




More information about the Twisted-Python mailing list