Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zippyfly

macrumors regular
Original poster
Mar 22, 2008
141
0
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.