comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Tasking performance between Ada83 and Ada95
Date: 1997/06/09
Date: 1997-06-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.865870961@merv> (raw)
In-Reply-To: 7h6UFCAdNsmzEwg3@walsh.demon.co.uk


Edmond Walsh said

<<We had a similar problem when moving some Ada 83 code running on a
Harris NightHawk to Ada 95 (Gnat) on an SG.  It took a lot of effort to
get the code running reasonably on the SG.  The underlying problem was
the mapping of the Ada Tasks to Unix threads.  The Harris (now
Concurrent) system was very good, reflecting the Real Time background of
Harris. (I was not involved in the porting, I was just an interested
observer.)>>

Of course, the mapping of Ada tasks to Unix threads is certainly a *good
thing* if you need to take advantage of the flexibility of this mapping.
For example, if you are using one of SGI's high end MP's, then you 
definitely want this mapping. But there certainly is an efficiency
penalty to be paid. 

Actualy from your post it is not quite clear what exactly you are referring
to in "lot of effort" and "underlying problem" here. Were there problems
other than efficiency? Sometimes, especially in Ada 83 programs, where the
dispatching semantics were not defined, programs make assumptions about the
dispatching that are non-portable. This is avoided in Ada 95 if you are using
a compiler that implements full Annex D semantics (true of the SGI compiler
for example), but that does not necessarily help the porting of legacy code.

Robert dewar
Ada Core Technologies





  reply	other threads:[~1997-06-09  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-06  0:00 Tasking performance between Ada83 and Ada95 Mike Rose
1997-06-07  0:00 ` Robert Dewar
1997-06-08  0:00   ` Edmond Walsh
1997-06-09  0:00     ` Robert Dewar [this message]
1997-06-15  0:00       ` Edmond Walsh
1997-06-15  0:00         ` Robert Dewar
1997-06-15  0:00           ` Tom Moran
1997-06-16  0:00           ` Robert A Duff
1997-06-17  0:00             ` Robert Dewar
1997-06-22  0:00           ` Geert Bosch
1997-06-23  0:00             ` Robert Dewar
1997-06-23  0:00             ` Larry Kilgallen
1997-06-25  0:00               ` Fergus Henderson
1997-06-25  0:00                 ` Larry Kilgallen
1997-06-07  0:00 ` Robert A Duff
1997-06-08  0:00   ` Robert Dewar
1997-06-10  0:00     ` Jon S Anthony
1997-06-10  0:00     ` PascMartin
1997-06-10  0:00       ` Robert Dewar
1997-06-07  0:00 ` jim hopper
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox