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: a07f3367d7,9983e856ed268154 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.98.234 with SMTP id el10mr624391wib.3.1345237415733; Fri, 17 Aug 2012 14:03:35 -0700 (PDT) MIME-Version: 1.0 Path: q11ni181593877wiw.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.138.MISMATCH!xlned.com!feeder5.xlned.com!feed.xsnews.nl!border-1.ams.xsnews.nl!plix.pl!newsfeed2.plix.pl!wsisiz.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!newsfeed.x-privat.org!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Should Inline be private in the private part of a package spec? Date: Tue, 14 Aug 2012 17:16:10 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <501bd285$0$6564$9b4e6d93@newsspool4.arcor-online.net> <502005b6$0$9510$9b4e6d93@newsspool1.arcor-online.net> <50203ca2$0$9512$9b4e6d93@newsspool1.arcor-online.net> <502040c0$0$9510$9b4e6d93@newsspool1.arcor-online.net> <50677fa2-7f82-4ccc-8c56-161bf67fefe1@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1344982574 2600 69.95.181.76 (14 Aug 2012 22:16:14 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 14 Aug 2012 22:16:14 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2012-08-14T17:16:10-05:00 List-Id: "Vasiliy Molostov" wrote in message news:op.wi0fliuoka8ora@aspire.local... > Randy Brukardt ?????(?) ? ????? ?????? Tue, 14 Aug > 2012 02:16:00 +0400: >> it's mainly intended to be used >> in the background with very little interaction. That's not always what >> customers want. > > Why not to turn/move it into xml? Because XML is a classic solution in search of a problem?? :-) The entire point of the file format is that it is a block-structured random-access file (that is, Direct_IO); the compiler only accesses the records it needs, not the whole file. (The whole file can get quite large if a lot of compilation units are involved, I've seen files with 10000 records.) Reading the entire file, especially if it is large, would be prohibitive. Reading it as a *text* file, which would be 3-5 times slower than pure binary, would be insane. I suppose one could use blank-padding to make each record the same size (thus allowing random access), and put snippets of XML in each record. But I don't quite see the point; one couldn't create or modify such a file with standard tools (which would not preserve the required blanks). Janus/Ada was designed to run on tiny host machines (like MS-DOS was), and as such we don't use text for anything (simply because it would take a lot more code to read and write than binary records do). We don't need to worry about hosts without decent amounts of memory anymore, but redesigning everything to use text files -- which still should never be modified by a human -- and making it a lot slower in the process -- doesn't really make much sense. Randy.