🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #284

Re: Will Java kill C++?

#284
From: Alan L. Lovejoy
Date: Wed, 17 Apr 1996 00:08
19 lines
1625 bytes
Tom Payne wrote:
> 
> Alan L. Lovejoy (alovejoy@concentric.net) wrote:
> :
> : I did those benchmars to prove that Smalltalk message sends are faster
> : than c function calls.  To do that, I needed a benchmark that consisted
> 
> How is that possible, given that the message has to find the entry
> point of the method and has to communicate parameters by mechanisms
> not unavailable to C.

It's a fact.  It's possible because full method lookup only needs to
occur the first time a message is sent to a receiver of a particular
class, not each time a message is sent--and because message sends do not
use "JSR/BSR" machine instructions, but just use simple jumps or 
branches.  Remember, method contexts are allocated on the heap, not on
the stack.  

--Alan
Technical Details
Message-ID: <31743669.62A1@concentric.net>
Path: arc1-ca.pugleaf.net!newsfeed.concentric.net!news
References: <3134D499.653E@ix.netcom.com> <313613B2.136E@ksopk.sprint.com> <4i7qhl$ik6@cronkite.seas.gwu.edu> <4iuhi7$fmf@sundog.tiac.net> <4iumap$mn5@hustle.rahul.net> <31582A45.3742@vmark.com> <3163C031.4FB1@esec.ch> <3164888D.2B01@concentric.net> <4kbfn8$1bu@news1.is.net> <4kqjf6$kh0@kaiwan009.kaiwan.com> <317173F1.5790@concentric.net> <4l194e$q11@galaxy.ucr.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeed.concentric.net!news
From: "Alan L. Lovejoy" <alovejoy@concentric.net>
Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
Subject: Re: Will Java kill C++?
Date: Tue, 16 Apr 1996 17:08:09 -0700
Organization: Modulation
Message-ID: <31743669.62A1@concentric.net>
References: <3134D499.653E@ix.netcom.com> <313613B2.136E@ksopk.sprint.com> <4i7qhl$ik6@cronkite.seas.gwu.edu> <4iuhi7$fmf@sundog.tiac.net> <4iumap$mn5@hustle.rahul.net> <31582A45.3742@vmark.com> <3163C031.4FB1@esec.ch> <3164888D.2B01@concentric.net> <4kbfn8$1bu@news1.is.net> <4kqjf6$kh0@kaiwan009.kaiwan.com> <317173F1.5790@concentric.net> <4l194e$q11@galaxy.ucr.edu>
NNTP-Posting-Host: cnc009047.concentric.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01Gold (Win95; U)