I'm writing a php web application using Yii and need to use C++ (will use Qt-Core) for some performance critical parts. I have two options:
i) Using php-qt and write those parts using qt bindings for php.
ii) Write those parts in C++/Qt and using swig to generate php extensions to use in my php app.
Which one would you suggest from a performance standpoint?
How much difference would there be between the two?
Thanks!