[haiku-development] Re: Haiku, Qt and apps, oh my!
- From: Zenja Solaja <solaja@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sat, 28 Mar 2009 17:44:57 +1100
Qt in the backend uses the Observer/Subscriber/Notifier design pattern.
Each widget maintains a list of 'subscribers', and on a given event, it
cycles through the list notifying all subscribers. Trolltech built their
entire API around this philosophy. It works for some scenarios, but is
expensive in others. Trolltech back in 2000 used to publicly claim that
their design philosophy costs around 10% of the CPU performance, though with
newer CPU's this effect is smaller. You do win with more manageable complex
code.
BeInc, however, adhered more to the "dont pay for what you dont need"
philosophy (that philosophy was very popular in the C++ camp back in the
90's, and still is). You can manually implement an Observer patter on top
of your code if you wish, it's very trivial to do.
Cheers.
On Sat, Mar 28, 2009 at 3:19 PM, François Revol <revol@xxxxxxx> wrote:
>
> If done correctly it could be almost as native as real stuff...
> Besides, Qt is a rip off BeAPI, so it can't be that hard :)
>
> François.
>
>
Other related posts:
- » [haiku-development] Haiku, Qt and apps, oh my!- Jason Todd Slack-Moehrle
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Ryan Leavengood
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Urias McCullough
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jason Todd Slack-Moehrle
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jason Todd Slack-Moehrle
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Urias McCullough
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jonas Sundström
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Ryan Leavengood
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jason Todd Slack-Moehrle
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Ingo Weinhold
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Alexandre Deckner
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Ryan Leavengood
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- François Revol
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Cian Duffy
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- François Revol
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- François Revol
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Frank Paul Silye
- » [haiku-development] Re: Haiku, Qt and apps, oh my! - Zenja Solaja
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Michael Crawford
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Stephan Assmus
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Stephan Assmus
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Michael Crawford
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Pier Luigi Fiorini
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Pier Luigi Fiorini
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Pier Luigi Fiorini
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Christoph .J Thompson
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jorge G. Mare
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Matt Madia
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Karsten Heimrich
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jorge G. Mare
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Rene Gollent
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- François Revol
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Stephan Assmus
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- PulkoMandy
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- François Revol
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Stephan Assmus
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Stephan Assmus
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Christoph .J Thompson
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Axel Dörfler
- » [haiku-development] Re: Haiku, Qt and apps, oh my!- Jonas Sundström