It has to be - as performance is such a poor explanation. In circumstances where malloc/free would be used frequently, it's often the case that a GC is *faster* than the C++ alternative.
Besides, Objective C now also has a garbage collector... On 26 April 2010 09:03, Casper Bang <[email protected]> wrote: > Do we all agree that the sole reason behind sticking with Obj-C is > exclusivity rather than performance? Sure there may be slight overhead > involved with managed languages and GC (we know this from Java > and .NET), but smartphones are now clocking in at 1GHz with 512MB+ RAM > and Moore's law means that a 20% overhead will have been offset in a > mere 3-4 months time. > > Hell, Android still kicks butt even if we have to wait another month > or so for the JIT'er to be turned on in 2.2/Froyo. Add to that, the > benefits of sandboxing which you've gained by virtue of the managed > platform. > > /Casper > > > On Apr 26, 8:50 am, wilfred <[email protected]> wrote: > > Listening to the last episode right now, in particular the comments on > > Apple's decision to ban anything but Objective C based apps from the > > iPhone and iPad. Next to me, on top of a pile of books, there is a > > book opened up on a page that has some ties with what is being > > discussed. It's part of an open letter to Steve Jobs, dating from > > 1996: > > > > "Dear Steve, > > .... > > Drop Objective C. There's no money to be made supporting yet another > > object language. Use C++ with SOM and you;ll get all the same benefits > > without the headaches. If you don't like C++, use Smalltalk with CORBA > > - it will also give you the same results. > > ...." > > > > It's part of Robert Orfali's book on Distributed Object Computing. I > > think it's pretty hilarious, looking back. Rather than scaring > > developers off - as the authors expected - Objective C is now being > > used to scare people away from targeting anything but Steve's > > platform. > > > > -- > > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > > For more options, visit this group athttp:// > groups.google.com/group/javaposse?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Kevin Wright mail/google talk: [email protected] wave: [email protected] skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
