Difference between GNUstep and Cocoa?

Discussion in 'Mac Programming' started by zippyfly, Sep 22, 2009.

  1. zippyfly macrumors regular

    Joined:
    Mar 22, 2008
    #1
    Hi - can someone explain what is the difference between GNUstep and Cocoa?

    Seems like GNUstep implements the same fundamental libraries we use on Mac, namely Foundation and the AppKit... (I realize the final rendering of the UI can differ, but the programmatic API is basically the same, right?)

    In other words, what's it take to recompile Cocoa ObjC source code for GNUstep? Or is the source code completely portable?

    Just curious.
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    The objective-c runtime APIs are different, and many not-quite-Cocoa APIs don't exist in GNUStep (CI*, FS*, IK*, LS*, etc...). However, if your app sticks entirely to widely-supported Cocoa classes and doesn't use ObjC2, it has a decent chance of being a trivial port.
     

Share This Page