Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Newsgroups | comp.arch |
| Subject | Re: "volatile" on the Mill |
| Date | 2016-02-01 08:47 +0000 |
| Organization | Old Fogies Society |
| Message-ID | <n8n63o$km9$1@dont-email.me> (permalink) |
| References | <n8mb5k$27c$1@dont-email.me> <n8n2jg$a42$1@dont-email.me> <3a9ab0f1-6683-4b35-8464-20ac15b9dcf6@googlegroups.com> |
In article <3a9ab0f1-6683-4b35-8464-20ac15b9dcf6@googlegroups.com>, William Edwards <willvarfar@gmail.com> wrote: >> >> >Several people here have expressed interest in informal information >> >about the Mill. Currently there is much posting (and consternation) >> >about the related subjects of memory ordering, volatile, and compiler >> >optimization. Here is the Present Most Recent Final Word about such >> >issues on the Mill. Subject to change without notice. >> >> Interesting. It seems very reasonable, and still is going to be >> something that 99% of programmers should avoid like the plague, >> because using it correctly will not be easy. > >If it were easy to use correctly, what would 99% of programmers start >using it for? ;) Well, there is that :-) More seriously, it does have its uses, and 'ordinary' programmers do occasionally need to write such code. Setting and testing flags between asynchronous code (e.g. signal handlers) and the main code. Playing 'interesting' numerical tricks, because most compilers do not follow the C standard - this use is outside the C standard. Kahan summation is the best-known example, and compilers often recognise that as a special case, but don't recognise the others. Various uses in debugging difficult problems - this use is also outside the C standard. Regards, Nick Maclaren.
Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-01-31 17:10 -0800
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-01 07:48 +0000
Re: "volatile" on the Mill William Edwards <willvarfar@gmail.com> - 2016-01-31 23:53 -0800
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-01 08:47 +0000
Re: "volatile" on the Mill "Paul A. Clayton" <paaronclayton@gmail.com> - 2016-02-01 20:34 -0800
Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 01:36 -0800
Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-02 04:19 -0800
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-02 12:55 +0000
Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 05:16 -0800
Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-03 11:55 -0800
Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-08 11:10 -0800
Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-15 02:27 -0800
Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-21 14:05 -0800
Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-29 07:37 -0800
Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-07 15:24 -0800
Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-03 12:30 -0800
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-02 11:16 -0800
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-02 11:18 -0800
Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 11:30 -0800
Re: "volatile" on the Mill "Paul A. Clayton" <paaronclayton@gmail.com> - 2016-02-02 11:37 -0800
Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-02 15:22 -0800
Re: "volatile" on the Mill MitchAlsup <MitchAlsup@aol.com> - 2016-02-02 16:54 -0800
Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-03 10:53 +0000
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 07:19 -0800
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 07:49 -0800
Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-03 16:17 +0000
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 12:41 -0800
Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-04 17:03 +0000
Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 12:47 -0800
Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-04 17:20 +0000
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-03 09:59 +0000
Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-03 02:34 -0800
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-03 11:01 +0000
Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-15 02:18 -0800
Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-15 11:41 +0000
csiph-web