From: Paul Fernhout <pdfernhout@kurtz-fernhout.com>
Eric Armstrong wrote:
> Anyone have any thoughts as to whether casting each
> instance of a class is better or worse than implementing
> a "SmallTalk-style" dynamic messaging? Any major
> advantages one way or the other?
Smalltalk is far more efficient. Java and C++ are still wrestling with
solutions to problems that Smalltalk solved optimally a decade ago. Just
one example -- modern Smalltalk VMs see practically no overhead from
method lookup because they cache the last used selector lookup for an
object. This handles 95% of such selector usages.
-Paul Fernhout
Kurtz-Fernhout Software
=========================================================
Developers of custom software and educational simulations
Creators of the Garden with Insight(TM) garden simulator
http://www.kurtz-fernhout.com
------------------------------------------------------------------------
DON'T HATE YOUR RATE!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!
http://click.egroups.com/1/2120/3/_/444287/_/953389869/
------------------------------------------------------------------------
Community email addresses:
Post message: unrev-II@onelist.com
Subscribe: unrev-II-subscribe@onelist.com
Unsubscribe: unrev-II-unsubscribe@onelist.com
List owner: unrev-II-owner@onelist.com
Shortcut URL to this page:
http://www.onelist.com/community/unrev-II
This archive was generated by hypermail 2b29 : Sat Mar 18 2000 - 06:38:18 PST