What are your plans for porting your apps to 64-bit?

Discussion in 'Mac Programming' started by foidulus, Jun 11, 2009.

  1. macrumors 6502a

    Joined:
    Jan 15, 2007
    #1
    Well now that 64-bit seems to be the premier feature of Snow Leopard, I was just curious to see what plans the devs here have for porting their apps to 64-bit.

    Where I work we are a bit odd, we use ADA and lots of Java, so the 64-bit porting has been interesting.

    The ADA was ported from PPC code and was a lot harder to port than we thought, but we are now finally rid of all PPC code. The Java was pretty easy, for the most part we just had to flip a switch and do some performance testing. However, there was one hurdle we had to cross, finding a 64-bit replacement for QTJava which Apple is letting die a slow, painful death(rumor is that it will be deprecated in Snow Leopard, at any rate it's 32-bit only in Leopard). Ultimately our app was simple enough that a few wrappers around QTKit did the trick, and now we are ready to distribute our 64-bit stuff out to the users.

    What plans have other devs made to jump to 64-bit? Is anyone just eschewing it altogether(There are a ton of drawbacks, esp. on memory-constrained systems).
     
  2. macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    I'm working on it for Adium. Converting the main codebase was mostly just a lot of easy-but-tedious manual labor.

    There were a few tricky bits there though:

    Global keyboard shortcuts had to move from the KL* APIs to TIL* APIs; sadly this means that 10.4 and earlier keyboard layouts cause crashes.

    Sound had to move to NSSound; sadly, NSSound API we needed to do this was only added in Leopard, so no 10.4 support there either.

    (probably some others I'm forgetting now)

    Right now I'm working on our dependencies. There's a bizarre crash in 64 bit PSMTabBarControl that I don't understand yet, and libiconv is missing a few symbols in 64 bit.
     
  3. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #3
    Just curious... What were you using before? Couldn't QTKit have done what you needed for 10.4+ support?
     
  4. macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #4

Share This Page