Re:The "C is Efficient" Language Fallacy
by cturner on Tuesday May 05, 2009 @01:47AM
(#593706)
In this thread people are closely tying C/C++. Is objective-c in the same league?
[ Parent
| on HN ]
No. Objective C isn't performance oriented, and while it's fine for most desktop apps (!) it's not in the same league as C++. C++ can actually let you use higher level structures that are faster than in C or Objective C because of template meta programming, as shown in the Blitz template library for numerical computation.
http://www.oonumerics.org/blitz/ This is what Templates are made for. And this is what you can't do in something like Java or Objective C. Java Generics boiling down to type cast at run time to and from Object, it doesn't help performance a bit.