comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Distributed Computing in Ada
Date: Thu, 27 Aug 2009 21:19:56 -0700
Date: 2009-08-27T21:19:56-07:00	[thread overview]
Message-ID: <h77lhk$aue$1@news.tornevall.net> (raw)
In-Reply-To: <wccocq0vkpj.fsf@shell01.TheWorld.com>

Robert A Duff wrote:
> 
> Well, sort of, but not in a practical way.  Ada tasks share memory, and
> there's no way to tell which variables are shared.  "Distributed" means
> no shared memory.

Ada tasks /can/ share memory, but they don't have to. The rendezvous seems like 
it would map nicely to message passing.

> I actually implemented such a system for Ada 83, where tasks could run
> on different computers.  But there were some severe restrictions on
> shared variables.  Terminate alternatives are "interesting" in that
> context.

Yes, there would have to be some mechanism to deal with shared variables; the 
simplest would be simply to outlaw access to non-local variables in tasks if you 
want to run your program on a distributed system.

-- 
Jeff Carter
"Spam! Spam! Spam! Spam! Spam! Spam! Spam! Spam!"
Monty Python's Flying Circus
53



  parent reply	other threads:[~2009-08-28  4:19 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 13:22 Distributed Computing in Ada Allison Beh
2009-08-24 13:45 ` Jacob Sparre Andersen
2009-08-24 16:49 ` Georg Bauhaus
2009-09-05  9:31   ` Allison Beh
2009-09-05 12:06     ` Ludovic Brenta
2009-09-05 13:20       ` Allison Beh
2009-09-05 16:49         ` Vadim Godunko
2009-08-25 11:58 ` Gene
2009-08-25 12:00 ` Gene
2009-08-27 15:28   ` Robert A Duff
2009-08-27 23:27     ` Jeffrey R. Carter
2009-08-28  0:35       ` Robert A Duff
2009-08-28  4:07         ` abyhoe
2009-08-28  8:34           ` Ludovic Brenta
2009-08-28  8:57             ` abyhoe
2009-08-28  9:03               ` abyhoe
2009-08-28  9:33                 ` Ludovic Brenta
2009-08-28 13:25             ` John McCabe
2009-08-28 13:38               ` Ludovic Brenta
2009-08-28 14:59                 ` Robert A Duff
2009-08-28  4:19         ` Jeffrey R. Carter [this message]
2009-08-28 12:24           ` Robert A Duff
2009-08-28 18:57             ` Jeffrey R. Carter
2009-08-28 19:57               ` Robert A Duff
     [not found]         ` <cd917fe6-d84c-47bc-b00e-76baae76ec6e@u16g2000pru.googlegroups.com>
2009-08-28  8:40           ` Jacob Sparre Andersen
2009-08-28 12:29           ` Robert A Duff
2009-08-28 15:00 ` Per Sandberg
replies disabled

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