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,58253cbf46bbb1fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Automated conversion to C++? Date: 17 Feb 2008 13:50:12 -0600 Organization: LJK Software Message-ID: References: <5bb30e3a-479b-4feb-be5e-e777edf778c9@q78g2000hsh.googlegroups.com> <47b883a9$0$26403$4d3efbfe@news.sover.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1203277813 15746 192.135.80.34 (17 Feb 2008 19:50:13 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sun, 17 Feb 2008 19:50:13 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:19840 Date: 2008-02-17T13:50:12-06:00 List-Id: In article <47b883a9$0$26403$4d3efbfe@news.sover.net>, "Peter C. Chapin" writes: > Larry Kilgallen wrote: > >> Posix is not an environment in which it is possible to fully implement >> Ada. > > Why is that? > > I'm not disagreeing with you... I'm just curious and would like to know > more. I am not an expert, but just as a first guess I don't see a way that Posix could implement "end of line" and "end of page" markers without using an inline reserved character. That would make it pretty hard, for instance, to write a line to a file with a newline character in the middle of the file. That might not be a valuable feature to you, but since I can do it with my Ada compiler today, it would be a limit to what I can do with my "real" Ada compiler. I have my suspicious that due to its Unix/C roots, some implementations of Posix might have trouble writing a file with lines that contain one or more embedded null. Unix and C have a habit of acting like no string would have a null in the middle.