Best compiled language for Mac OS X and Linux compatibility

Posted by corydoras on Stack Overflow See other posts from Stack Overflow or by corydoras
Published on 2009-09-28T04:27:30Z Indexed on 2010/05/16 11:20 UTC
Read the original article Hit count: 316

We need to write some software that will compile and run on both an Mac OS X server and Ubuntu. We would love to use Objective-C with all of its Cocoa goodness, however the GNUstep implementations of the parts we are using are broken (in the latest Ubuntu package anyway.)

In light of this should we use C++ (I would really rather not), C or something else that we have not thought of?

It is a server/back-end process that is very resource intensive, Java and other interpreted versions of this software perform much worse than the Objective-C proof of concept we have written, hence we now wish to re-write in a "compiled[1]" language.

(NB: Some people might consider this subjective, however at the end of the day we do need to get a job done, there has to be a reasonably appropriate correct answer here).

[1] Compiled to native CPU instructions, not compiled into "byte codes" that then have to be run by an interpreter.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about gnustep