From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,7223de97ebf14372 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,7223de97ebf14372 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-11 14:43:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: VMS on more common hardware (was Re: VMS as a career move ) Date: 11 Jan 2002 16:43:44 -0600 Organization: Berbee Information Networks Corporation Message-ID: References: <3q4r2uc6ad3r4kbclnejf61fn08q5po4ie@4ax.com> <00A07554.69119936@SendSpamHere.ORG> <87advyq2as.fsf@prep.synonet.com> <3C3A146D.9BF412F9@videotron.ca> <5b86b9ee.020111Organization: LJK Software NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010789034 14850 192.135.80.34 (11 Jan 2002 22:43:54 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 11 Jan 2002 22:43:54 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:60025 comp.sys.dec:11444 In article <5b86b9ee.0201111206.6c71f856@posting.google.com>, jeremybarker@email.com (Jeremy Barker) writes: > JF Mezei wrote in message news:<3C3A146D.9BF412F9@videotron.ca>... >> Bob Koehler wrote: >> > Back to reality. A great bit of VMS has since been rewritten in >> > BLISS or other HLL. I know of VAX Macro code fomr VMS 2.x that >> > became BLISS by VMS 4.0. >> >> >> When writing kernel code or deep down stuff for the OS, does using a compiler >> with lots of optimization for the harware ever cause serious problems ? (I am >> thinking of instruction ordering, and variable "elimination" by keeping them >> in registers, and possible many other factors). > > In BLISS you can declare a variable to be VOLATILE so it isn't kept in > a register and, IIRC, is always fetched from its memory address for > each use. Presumably for the same reasons, pragma Volatile was a vendor-specific add-on when DEC wrote the VAX Ada compiler. Of course the problem it addresses is not specific to VMS, so pragma Volatile was added to the Ada95 standard for all compilers.