[Qt-interest] Signal/Slot model is suitable for GUI applications but it isn't for console applications

william.crocker at analog.com william.crocker at analog.com
Mon Aug 23 15:11:13 CEST 2010


> 
> Could i say that Signal/Slot model is suitable for GUI applications but 
> it isn't  for console applications?
> I am developing a console application with many threads. I am using the 
> signals and slots between the threads.
> How much performance of my application will be worse at usage of 
> Signal/Slot model?
> 

1 - Do whatever you have to do to get your
     program working and giving the right answer
     as soon as possible.

2 - Create regression tests to preserve
     that right answer.

3 - If it is then too slow, profile and
     address the bottle necks.

With experience, next time you will see the
bottle necks coming.

Bill



More information about the Qt-interest-old mailing list