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: 103376,b59b337045eece60 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Structure of the multitasking server Date: Mon, 22 Sep 2008 10:23:10 +0200 Organization: Adalog Message-ID: References: <8b4d1170-22e6-40d3-8ed1-096dc0163491@m36g2000hse.googlegroups.com> <17a9dc9a-9a68-47a4-8415-fd51a299959a@m73g2000hsh.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1222068831 9117 195.25.228.57 (22 Sep 2008 07:33:51 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 22 Sep 2008 07:33:51 +0000 (UTC) User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <17a9dc9a-9a68-47a4-8415-fd51a299959a@m73g2000hsh.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:2061 Date: 2008-09-22T10:23:10+02:00 List-Id: Maciej Sobczak a �crit : > On 19 Wrz, 15:34, Jean-Pierre Rosen wrote: > >> Why not simply use a rendezvous? > > This is something that I deliberately wanted to avoid. > I don't like the idea of tasks interacting with each other directly > and I prefer to have the communication part extracted away (Ravenscar > got that right for a reason, I think?). You said "I prefer", so this can be a matter of taste ;-) Personnally, I view protected types as a great tool for simple, low-level communications, and rendezvous for higher level communications. I think rendezvous are closer to real-life, and thus easier to manage. YMMV of course. The issue for Ravenscar is different: it is a matter of provability. There are many examples of things that are simpler for the human being, but less easy for proofs systems... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr