discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: framework


From: Richard Frith-Macdonald
Subject: Re: framework
Date: Fri, 28 Aug 2009 05:53:06 +0100


On 27 Aug 2009, at 14:41, David Chisnall wrote:

On 27 Aug 2009, at 11:24, Michael Thaler wrote:

Objective C is not in the list but I doubt that Objective C would be much faster then Java if you actually use Objective C and not just a plain C subset. And Scala also runs on the JVM and is also quite fast and it is a very nice, modern language which is not clumsy at all.

If you can find an older version of that page, Objective-C used to be there with an average score of 1.6 (about the same as Java now) for speed, and much lower memory usage than Java. The implementations all used pure message passing - no C functions, no IMP caching.

While ObjC may be faster than Java on the benchmarks as well, my original comment was based on real-world usage where ...

1. The language flexibility lets you focus on, and rework the overall design, optimising details *late* 2. In ObjC it's trivially easy to drop back to plain C in critical sections, so you can perform additional optimisation

... which (in my experience) means that for large, complex applications ObjC works out faster than C++ despite the fact that C++ is much faster in specific benchmarks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]