From: bbalfour@std.caci.com (Brad Balfour)
Subject: Re: Ada versus Java - Tasking
Date: 1997/01/16
Date: 1997-01-16T00:00:00+00:00 [thread overview]
Message-ID: <bbalfour-1601971607050001@stmac0088.std.caci.com> (raw)
In-Reply-To: 01bc03ee$594dc520$829d6482@joy.ericsson.se
In article <01bc03ee$594dc520$829d6482@joy.ericsson.se>, "Jonas Nygren"
<ehsjony@ehs.ericsson.se> wrote:
>I have written a small producer-consumer type of program
>both in Ada and Java. To my astonishment the Java code
>executes faster than the Ada code.
>
>My test starts 50 producer-consumer pairs that run in
>parallell. Each pair produces/consumes 1000 messages
>of 50 bytes. I get the following timing on my P133,
>16M, and running Win95:
>
>Ada (Gnat 3.04a) : ~30 s
>Java (MS SDK-Java) : ~15 s
>
>This result was very much to my surprise!
It would help if you posted a copy of both programs. That we we could
understand your implementations and see if they are truly comperable.
There are several ways you could create producer/consumers in Ada 95.
Brad
--
Brad Balfour SIGAda WWW Server
CACI, Inc. http://www.acm.org/sigada/
(703) 277-6767 and also try:
bbalfour@std.caci.com http://www.adahome.com/
3930 Pender Drive Fairfax, VA 22030
"...they even have rules for exceptions" -- Dewar and Schonberg
next prev parent reply other threads:[~1997-01-16 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-16 0:00 Ada versus Java - Tasking Jonas Nygren
1997-01-16 0:00 ` Brad Balfour [this message]
1997-01-25 0:00 ` Robert Dewar
1997-01-16 0:00 ` wiljan
1997-01-17 0:00 ` Jeff Carter
1997-01-19 0:00 ` David Taylor
1997-01-20 0:00 ` Jim Hopper
1997-01-20 0:00 ` Michael Paus
1997-01-21 0:00 ` Jim Hopper
1997-01-21 0:00 ` Larry Kilgallen
1997-01-21 0:00 ` jim hopper
1997-01-21 0:00 ` Dr. John B. Matthews
1997-01-23 0:00 ` Jeff Carter
1997-01-17 0:00 ` Steve Doiel
1997-01-18 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-19 0:00 ` Robert A Duff
1997-01-19 0:00 ` Tom Moran
1997-01-19 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-19 0:00 ` Larry Kilgallen
1997-01-20 0:00 ` Ada Tasking revisited (was: Re: Ada versus Java - Tasking) Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-20 0:00 ` Ada versus Java - Tasking Dale Pontius
1997-01-20 0:00 ` Jon S Anthony
1997-01-20 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-21 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox