How do you define "object-oriented"?

Jarvis, Robert P. (Contingent) Jarvisb at timken.com
Fri Apr 26 21:06:05 UTC 2002


> From: Doug Way [mailto:dway at riskmetrics.com]
> 
> The advantage to primitive types comes with the raw speed 
> advantage.  Although it is possible to get objects (such as 
> SmallInteger) somewhat close to primitive-type speed by using 
> various tricks, from what I've heard.

In the C/Smalltalk "duel" I mentioned earlier, not only did the C code take
three hours to write (vs. 2 seconds for the equivalent Smalltalk), but the
two ran at about the same speed.  I think the speed advantage of primitive
types for everything except *perhaps* heavy-duty number crunching has been
overstated.  In typical day-to-day use I've found that Smalltalk is as fast
or faster than languages which support primitive types, and if you factor in
the reduced development time of Smalltalk then the win for Smalltalk is very
clear.  YMMV.

Bob Jarvis
Compuware @ Timken


**********************************************************************
This message and any attachments are intended for the 
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this 
communication to others; also please notify the sender by 
replying to this message, and then delete it from your system. 

The Timken Company
**********************************************************************



More information about the Squeak-dev mailing list