O'Reilly logo

SproutCore Web Application Development by Tyler Keating

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the run loop

The last topic of the runtime environment is the run loop. The run loop is an extremely important adaptation that makes SproutCore outperform other frameworks and makes it possible to achieve incredible performance in a web app in spite of the many constraints of the browser. The reason I haven't talked much about the run loop before this point is because as a developer you generally don't need to think about the run loop and I don't want anyone to get into the habit of trying to manipulate the run loop timing without first fully understanding what they're doing.

For most projects, you should be able to ignore the run loop entirely simply by always using SproutCore technologies that are already run loop aware. This includes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required