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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-29 03:08:50 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!62.173.119.178!not-for-mail From: Peter Amey Newsgroups: comp.lang.ada Subject: Re: In-Out Parameters for functions Date: Thu, 29 Jan 2004 11:08:49 +0000 Message-ID: References: <5ad0dd8a.0401240721.7682f2e1@posting.google.com> <5ad0dd8a.0401280230.5c800894@posting.google.com> NNTP-Posting-Host: 62.173.119.178 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1075374529 27709479 62.173.119.178 ([69815]) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en In-Reply-To: <5ad0dd8a.0401280230.5c800894@posting.google.com> Xref: archiver1.google.com comp.lang.ada:5032 Date: 2004-01-29T11:08:49+00:00 List-Id: Wojtek Narczynski wrote: > Robert A Duff wrote in message news:... > >>Peter Amey writes: >> >> >>>... SPARK functions never have side effects, ... >> >>SPARK is consistent. No side effects involving globals, no side effects >>involving parameters. No side effects. Simple. > > > But would you embark on writing, for example, a high performance email > server in SPARK? > Possibly (or possibly not); however, the absence of function side effects would not be a factor in that decision. Probably the biggest obstacle might be the desire to use dynamic data structures constructed with access types (which SPARK does not support). Peter