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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: erlo Newsgroups: comp.lang.ada Subject: Re: Binary versus text and compiler versions, was: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. Date: Thu, 12 Dec 2013 20:23:15 +0100 Organization: A noiseless patient Spider Message-ID: References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> <2b6dc37f-4aa6-4c18-be59-8c09f6f37f01@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 12 Dec 2013 19:23:16 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="f047e3e707c249e3e510f2617e1f597c"; logging-data="26186"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sTO8mWNYZ9W2Ca5fPmkb/" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:L1Pobrg0+6VRgQ/MHFm/mhsJOzw= Xref: number.nntp.dca.giganews.com comp.lang.ada:184240 Date: 2013-12-12T20:23:15+01:00 List-Id: On 12/11/2013 12:37 PM, Austin Obyrne wrote: > On Tuesday, December 10, 2013 11:08:40 PM UTC, Simon Clubley wrote: >> On 2013-12-10, Randy Brukardt wrote: > > But if I was writing this sort of code, I wouldn't worry about line endings > at all, and simply encrypt the file as binary data, using Stream_IO to read > it in and out. > Thank you. That's one of a number of things I don't understand about this. A serious encryption tool is going to treat the input as a opaque stream of bytes not as text. I don't encrypt pure text, but I _do_ encrypt full directory trees which may have a mixture of text and binary files within them. I don't understand how someone who claims to have invented something new cannot realise this. And to the OP: while I can certainly understand the desire to remain with Ada 95, > > > > Hi Simon, > > The gnat 311.p compiler happens to be the one that I use to develop my cipher program source code in my three ciphers over 10 years ago. > > There is nothing binding about a compiler – if it works leave it alone unless you can benefit from the attributes of revised versions in 2013 there is no point in trying to improve on what you’ve got - each download, sale or whatever of my software comes with a gnat 311.p compiler provided ready for installing at the click of a mouse and is certain to work – in passing this compiler loads like a treat in Windows XP, Vista, 7,& 8. > > There is nothing decadent about using an older compiler. This compiler works even better than recent updated (revised) versions of the Ada language so there is no criticism that can be made on the back of being an older version. There is no benefit whatever in using more recent compilers and as you can see it even leads to the trouble being discussed here. > > It is not anachronistic to use an old compiler. > > •The ‘C’ language is still being used to write important components of systems and see how old that is. > > Compilers in my understanding are updated solely so as to incorporate better ways of doing known criteria or of introducing totally fresh methods but if you don’t need these why change from what you’ve got? > > The only downside of my scheme of disseminating my software with the same copied compiler in every case is that the compiler number is the same every time but is that an exploitable defect – No way do think so! > > I hope this answers your question. > > Austin > Compilers has bugs too! One of the reasons to release a new version of a compiler is to get rid of (some of) these bugs, which all users will benefit of. Erlo