Slashdot Mirror


How Snow Leopard Cut ObjC Launch Time In Half

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."

10 of 158 comments (clear)

  1. Re:enough fucking by Anonymous Coward · · Score: 5, Funny

    You've had enough of fucking, and would like more Snow Leopard stories? Each to his own, I guess.

  2. Re:I've heard that before.... by mdwh2 · · Score: 3, Funny

    Well okay then, Apple were the ones who "popularised" it! ("Well I hadn't heard about Superfetch, but I heard about Apple doing it first, therefore, Apple did it first")

    Or um ... they "integrated" it better. Yeah, that's it.

  3. Re:enough fucking by mdwh2 · · Score: 1, Funny

    Hey, it makes a refreshing change from the daily "Do XYZ On Your Iphone" stories! I'm love the variation today here on Apple- er Slashdot.

  4. dyld by DoofusOfDeath · · Score: 5, Funny

    dyld - noun. A reminder that regardless of age, you'll always have an adolescent sense of humor.

  5. Re:Is this really something new? by AndGodSed · · Score: 2, Funny

    erm... these don't stick?

  6. Re:I've heard that before.... by Spaham · · Score: 2, Funny

    mod parent : should be the article itself :D

  7. Re:enough fucking by igny · · Score: 2, Funny

    Apple's dyld comes in handy in both cases.

    --
    In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
  8. Re:enough fucking by hamburger+lady · · Score: 2, Funny

    that sound you hear is NoYob's spirit being completely crushed.

    bravo, sir.

    --

    ---
    Is this the MPAA? Is this the RIAA? Is this the DMCA? I thought it was the USA!
  9. Re:I have a question: Do you like The Beatles? by Anonymous Coward · · Score: 1, Funny

    This line is posted with BOLD text and one word randomly capitalised! Have you ever been so far as to want to look more like that? I was wearing an Onion on my belt, which was the style at the time...have you ever... ever felt like this? More random bold TEXT.

    Have I ever told you ABOUT the time I held Bill Gates TOWEL?

    P.S =>_|_|_|_|_+-+-+-+-+-+-!>!>!>!>! Whoop whoop whoop whoop! Nurse!