1

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!

Nilesh
  • 1,222
  • 1
  • 11
  • 23

1 Answers1

0

Even though I like Qt quite a bit, but if performance is your concern I would take the swig path.

Ahmad Mushtaq
  • 1,395
  • 1
  • 10
  • 32