Slashdot Mirror


How OS X Executes Applications

MacHore writes "0xFE has an excellent tutorial on Mach-O, which is the file format used by OS X executable files and libraries. It goes into great detail about how Mach-O works, and explains what OS X actually does when it loads and runs an application. Subtopics include Universal Binaries, The Dynamic Linker, Using otool, and other goodies."

14 of 315 comments (clear)

  1. How I execute applications :) by Anonymous Coward · · Score: 5, Funny

    When FORCE QUIT doesn't work, 120V A/C to the processor does the trick every time.

    1. Re:How I execute applications :) by 1336.5 · · Score: 1, Funny

      When FORCE QUIT doesn't work, 120V A/C to the processor does the trick every time.

      You mean 120V AC (stands for Alternating Current, not Alternating per Current) to the Power Supply Unit (not the processor).

      Effectually I'm sure the processor wouldn't like that either.

    2. Re:How I execute applications :) by voidware · · Score: 2, Funny

      A/C is amps per coulomb. Since an amp is a coulomb per second, the parent is clearly refering to the frequency.

  2. How it launches? by pryonic · · Score: 3, Funny
    All I do is click on the icon and it launches the application! It obviously doesn't do any of that fancy stuff the article mentions or the pixies would tell me!

    Universal Binaries, The Dynamic Linker, Using otool? pah!

    --
    Never underestimate the power of stupid people in large groups.
  3. Mach-O by Anonymous Coward · · Score: 1, Funny

    Mach-O? Further proof that Mac users feel emasculated and need to make up for it. : p

  4. "Using otool" by Anonymous Coward · · Score: 5, Funny

    Do you mean big "O" tool?

    1. Re:"Using otool" by mederjo · · Score: 2, Funny

      The other day I was buying a bunch of computer science/programming type books from Amazon. One thing I'm really interested in is something with a good description of Big-O ( Oh ) notation and how to assign it to an algorithm. I searched for "Big O" and of course I ended with a whole lot of results about having/giving orgasms, fellatio, cunnilingus etc. Not *quite* what I was looking for...

      Please include all jokes relating to reading /. and sexual activity, or lack thereof for someone posting to /., in the box below.

      BTW, does anyone know of a book with a really good treatment of Big-Oh, hopefully including good worked examples ?

      Regards,

      Jo Meder

  5. Ooh, I know this one! by Anonymous Coward · · Score: 5, Funny

    With extreme prejudice?

  6. Re:I don't have a Mac by Haeleth · · Score: 4, Funny

    Oh dear, does Linux practice this awful act as well? I'm an opponent of capital punishment, so it's now clear to me that I can't, in all conscience, use a Mac or Linux. No application, however detestable a crime it may be accused of, should ever face what is no more than state-sanctioned murder!

    My question to Slashdot, therefore, is what operating system should I choose?

    I've heard good things about FreeBSD's jails, which are apparently very secure without being inhumane. But on the other hand, Windows also has some advantages - I understand it opposes the death penalty so strongly that that it's been known to commit suicide in protest when a user attempts to execute too many applications?

  7. Re:0xFE by MagicM · · Score: 4, Funny

    Bastards.

  8. Re:What this means by Zwets · · Score: 5, Funny
    Expect an increase of the number of Mac virii

    And wormii! Don't forget wormii.

    --
    One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say. - Will Duran
  9. iVillage People by Aesiq · · Score: 1, Funny

    Mach-o mach-o man,
    I want to be a mach-o man!

  10. Re:What this means by minus_273 · · Score: 2, Funny

    Actually, I am a mac user/developer and I expect the number of Mac worms to increase by 5-10 times the current amount. I dont want to agree with windows fanboys, but have to admit this. This really a cuse for alarm. The number of worms will increase by at least 5x and millions of mac users are not protected.

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  11. Re:Kinda OT.. yet relevant to this thread by essinger · · Score: 2, Funny

    Help! I can't understand why 'apt-get install Half-Life_2' isn't working!

    > Lets see, for Windows I must:
    > 1) Goto Store
    > 2) Pay for Software
    > 3) Insert CD
    > 4) Wonder what Autoplay is going to do
    > 5) Navigate non-standard installation

    > For my debian/ubuntu systems:
    > 1) apt-get install softwarex