News for hackers. Stuff that matters.
Re:Objective-C's niche: why it survives in a world of altern... by davidw on Monday October 12, 2009 @09:30AM (#876649)
> And for a company known to replace CPU architectures and their entire operating system, why does Apple persist with Objective-C?

Swapping out an architecture is way easier than rewriting hundreds of thousands (millions?) of lines of code. Orders of magnitude easier if there is any abstraction at all.

They avoid changing because the perceived benefits are smaller than the costs, which include large switching costs.

Re:Objective-C's niche: why it survives in a world of altern... by gte910h on Monday October 12, 2009 @11:30AM (#876906)
I also think Objective C is quite a bit better than C++....and hope they share that same opinion, as that would be the logical replacement language.
Re:Objective-C's niche: why it survives in a world of altern... by ComputerGuru on Monday October 12, 2009 @01:16PM (#877177)
Easily millions. If you said > 1 billion, I think you'd still be in the clear.

We're working on middle-size end user software and we have millions of C++ lines of code. So I can only imagine how many lines of code Apple has riding on Objective-C.

Re:Objective-C's niche: why it survives in a world of altern... by jpcx01 on Monday October 12, 2009 @01:33PM (#877220)
Well, Apple doesn't only write Objective-C. I'd bet a majority of the code they write is plain C and C++ for internal OSX stuff. And some of their major projects are still Carbon (C++) (though they are trying to port to Cocoa).