should pure functions accept/deal with shared data?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jun 7 07:41:01 PDT 2012


On 6/7/12 9:13 AM, Manu wrote:
> On 7 June 2012 04:55, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org
> <mailto:SeeWebsiteForEmail at erdani.org>> wrote:
>
>     We could define shared to refuse compilation on odd machines, and
>     THEN provide an atomic template with the expected performance of a lock.
>
>
> *sigh* .. my biggest pet peeve with the D community.
> ARM and PPC are not 'odd'

I agree. I didn't mean to qualify ARM/PPC as odd.

Andrei




More information about the Digitalmars-d mailing list