Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-24 Thread Mike Franklin via D.gnu
On Tuesday, 24 June 2014 at 14:14:18 UTC, Johannes Pfau wrote: Am Tue, 24 Jun 2014 10:46:11 + schrieb "Timo Sintonen" : To keep this thread going, I had a quick look at the reference material of the dip and picked some thoughts. In some languages volatile has a stronger meaning, like gua

Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-24 Thread Johannes Pfau via D.gnu
Am Tue, 24 Jun 2014 10:46:11 + schrieb "Timo Sintonen" : > To keep this thread going, I had a quick look at the reference > material of the dip and picked some thoughts. > > In some languages volatile has a stronger meaning, like > guaranteeing an atomic access. In some languages it may not

Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-24 Thread Iain Buclaw via D.gnu
On 24 June 2014 11:46, Timo Sintonen via D.gnu wrote: > > While writing this it just popped to my mind: if volatile is not good, > could we reuse the 'system' word? Then it would be clear that this is for > accessing system resources and not for application level. > > There seems not to be much d

Re: [Bug 126] Add support for attribute to mark data as volatile.

2014-06-24 Thread Timo Sintonen via D.gnu
To keep this thread going, I had a quick look at the reference material of the dip and picked some thoughts. In some languages volatile has a stronger meaning, like guaranteeing an atomic access. In some languages it may not guarantee anything. In this proposal volatile is only for optimizat