[dmd-concurrency] real

Don Clugston dclugston at googlemail.com
Thu Jan 28 05:08:19 PST 2010


2010/1/28 Steve Schveighoffer <schveiguy at yahoo.com>:
> By that logic, shared arrays must be usable on 32-bit systems and not on 64 bit.  I think this is a huge portability issue, and an unacceptable inconsistency.
>
> Reals are not the same however, there the capabilities of the processor are specifically targeted.

Agreed. The IEEE describes 80-bit extended real as a non-interchange
format. I think it's perfectly acceptable to make its sharing
behaviour processor-specific. (It could be defined as an ABI issue).
In general, 'real' does not support atomic operations -- certainly not
for SPARC 128-bit reals, which are implemented via hardware
interrupts.


More information about the dmd-concurrency mailing list