Theocacao
Leopard
Design Element
Comment on "Some Explanation Required, Cocoa and Carbon"
by Dominik Wagner — Oct 08
To give a counterexample: Garage Band has a idle cpu of 6,5 % on my MacBook Pro if a simple music file is open doing nothing. And Garage Band is considered to be Cocoa. Consuming CPU when idle is usually a sign of bad programming no matter what API you are using. To state Betrand Serlet: Above all: nooooo pollling ;)
The fact that programs like Word have idle cpu consumtion is just Horrible. The fact that it is carbon doesn't matter very much in this context. If you want to throw out another urban myth: Many Cocoa apps leak memory over time. Just run leaks on any Cocoa program you have used for some time.
Back to "Some Explanation Required, Cocoa and Carbon"
Design Element

Copyright © Scott Stevenson 2004-2015