From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6ca5f0d94d4c145 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!weretis.net!feeder2.news.weretis.net!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Distributed Computing in Ada Date: Thu, 27 Aug 2009 21:19:56 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <7f8194ed-26d1-4a38-841b-6cb910b10ce4@j9g2000prh.googlegroups.com> <7ea2b1c2-a011-456e-9ec2-10c4ab75ee05@r38g2000yqn.googlegroups.com> NNTP-Posting-Host: 9148c26ae36ac97707c3104cd538c3f2 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cc894934ab5cd8e12e228c96d33bbf83 X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=cc894934ab5cd8e12e228c96d33bbf83 X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-Posting-User: 9b22bfe2855937f9b3faeec7cfc91295 Xref: g2news2.google.com comp.lang.ada:8026 Date: 2009-08-27T21:19:56-07:00 List-Id: 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