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,3a1c64628a09855b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr23.news.prodigy.net.POSTED!cfe18fef!not-for-mail From: Gary Scott Organization: Home User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Lack of formal syntax undermines Ada References: <480102d3$0$19814$4d3efbfe@news.sover.net> In-Reply-To: <480102d3$0$19814$4d3efbfe@news.sover.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 68.94.3.156 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr23.news.prodigy.net 1208027818 ST000 68.94.3.156 (Sat, 12 Apr 2008 15:16:58 EDT) NNTP-Posting-Date: Sat, 12 Apr 2008 15:16:58 EDT X-UserInfo1: SCSYQN_@OXWQB_LZBZOB_QDBAJT@QDDMEPWXODMMHXMTWA]EPMTKAH_[JTXDX_KI\VB]JBVMS^YT_G[CZVWAOS\DHFWEH]@KGXYHB\_CMDSFABP^J[AHHRKARLE_JDBLJ\XA[JRMEI]MGJSPB\Y]^KG\@S^@VQKI_Q[G@@_ACSARASDEFLBJ]S\GFNTUAVBL Date: Sat, 12 Apr 2008 14:16:55 -0500 Xref: g2news1.google.com comp.lang.ada:20896 Date: 2008-04-12T14:16:55-05:00 List-Id: Peter C. Chapin wrote: > Gary Scott wrote: > >> Sorry, non-Ada nube type question: How is inter-language calling of >> functions that do allow inout and out arguments handled (say calling a >> C API)? > > > In the case of C, anyway, there are only the (rough) equivalent of in > parameters. C simulates all other modes using pointers. In Ada one could > pass an access value to a function and perform the same simulations. So there's no possibility of the optimizer making assumptions it shouldn't and "simplifying something"? > > Peter -- Gary Scott mailto:garylscott@sbcglobal dot net Fortran Library: http://www.fortranlib.com Support the Original G95 Project: http://www.g95.org -OR- Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html If you want to do the impossible, don't hire an expert because he knows it can't be done. -- Henry Ford