PDA

View Full Version : How Snow Leopard Cut ObjC Launch Time In Half


sl4shd0t
09-06-2009, 04:18 PM
MBCook writes "Greg Parker has an excellent technical article on his blog about the changes to the dynamic linker (dyld) for Objective-C that Snow Leopard uses to cut launch time in half and cut about 1/2 MB of memory per application. 'In theory, a shared library could be different every time your program is run. In practice, you get the same version of the shared libraries almost every time you run, and so does every other process on the system. The system takes advantage of this by building the dyld shared cache. The shared cache contains a copy of many system libraries, with most of dyld's linking and loading work done in advance. Every process can then share that shared cache, saving memory and launch time.' He also has a post on the new thread-local garbage collection that Snow Leopard uses for Objective-C."http://developers.slashdot.org/slashdot-it.pl?from=rss&op=image&style=h0&sid=09/09/06/1343209 (http://apple.slashdot.org/story/09/09/06/1343209/How-Snow-Leopard-Cut-ObjC-Launch-Time-In-Half?from=rss)
Read more of this story (http://apple.slashdot.org/story/09/09/06/1343209/How-Snow-Leopard-Cut-ObjC-Launch-Time-In-Half?from=rss) at Slashdot.
http://feedads.g.doubleclick.net/~at/V9hqWFh91OpQM7P-OSI6rmpd720/0/di</img> (http://feedads.g.doubleclick.net/~at/V9hqWFh91OpQM7P-OSI6rmpd720/0/da)
http://feedads.g.doubleclick.net/~at/V9hqWFh91OpQM7P-OSI6rmpd720/1/di</img> (http://feedads.g.doubleclick.net/~at/V9hqWFh91OpQM7P-OSI6rmpd720/1/da)
http://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/0THrGC7RGoM

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/0THrGC7RGoM/How-Snow-Leopard-Cut-ObjC-Launch-Time-In-Half)