Xref: csiph.com comp.arch:33262 Newsgroups: comp.arch Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: The freedom that give us C++ and C Message-ID: Date: Fri, 29 Jan 2016 03:06:11 GMT References: <2016Jan26.190638@mips.complang.tuwien.ac.at> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Lines: 8 In article <2016Jan26.190638@mips.complang.tuwien.ac.at>, Anton Ertl wrote: >not something for the compiler to "optimize". There is also the >problem of weak consistency models, but that's also something between >the programmer and the hardware. In later language standards they define enough to write lockless code on machines with all sorts of consistency models. The code is between the programmer, and the language standard, not the hardware.