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,f822ae7b0f7433c1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!transit3.readnews.com!news-out.readnews.com!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: AW: Translating an embedded C algorithm Date: Fri, 19 Jan 2007 15:27:58 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <878xg2aqzr.fsf@ludovic-brenta.org> <87k5zk7m8j.fsf@ludovic-brenta.org> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1169238478 945 192.74.137.71 (19 Jan 2007 20:27:58 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 19 Jan 2007 20:27:58 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:CWhrX8EpVSXJEtt85n79JKSOvSo= Xref: g2news2.google.com comp.lang.ada:8348 Date: 2007-01-19T15:27:58-05:00 List-Id: Cesar Rabak writes: > Stephen Leake escreveu: >> Ludovic Brenta writes: > [snipped] >> This example program is far too small to show the crucial differences >> between C and Ada. >> > > I think you summarized very well the whole issue here! But the OP didn't ask anybody to "show the crucial differences between C and Ada"; he asked for a simple half-page C function to be translated into Ada, which is a perfectly reasonable request. I started to do it myself, but others have answered that question, so he got more-or-less what he asked for. He also got "we can't translate simple C into simple Ada -- we need to create a hugely complicated mess", and he also got "you dope, how dare you ask about Ada when you don't already know Ada". Sigh. - Bob