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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,751584f55705ddb7 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Ada is almost useless in embedded systems Date: 1996/02/18 Message-ID: #1/1 X-Deja-AN: 140046983 references: <823906039.22113@assen.demon.co.uk> <823965654.4500@assen.demon.co.uk> <824165619.14894@assen.demon.co.uk> <824332550.2485@assen.demon.co.uk> <312609D9.4E6F@flash.net> <824684479.9342@assen.demon.co.uk> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-02-18T00:00:00+00:00 List-Id: John says "As far as K&RII is concerned, in the section in the back with the annotations it explains the purpose of the volatile qualifier as being to ensure that the compiler doesn't optimize e.g. redundant assignments etc on a particular object." John, get a copy of the ANSI standard if you want to discuss things at this level. K&RII is not a full accurate description of the standard (nor does it pretend to be!) Any serious C programmer should (a) have a copy of the ANSI standard and (b) know their way around it. The same of course is true for Ada programmers. I am not saying that people should learn the languages from the standard, that's asking too much, but you should learn to use it as a reference, since it is the only authoritative source for detailed semantic information in both cases.