Allocators

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Aug 26 00:55:53 PDT 2013


26-Aug-2013 03:03, Dicebot пишет:
> On Sunday, 25 August 2013 at 22:46:16 UTC, David Nadlinger wrote:
>> On Friday, 23 August 2013 at 17:27:39 UTC, Peter Alexander wrote:
>>> Or shared
>>
>> … starting with the fact that we don't have a well-defined memory
>> model at all – on a fundamental level, multithreaded programming in D
>> is guesswork (resp. looking at the compiler implementation) right now!
>>
>>> […] There's quite a few unresolved issues!
>>
>> Also add aliasing semantics to the list:
>> http://d.puremagic.com/issues/show_bug.cgi?id=10750
>>
>> David
>
> It is a wonder it works at all! :D

Well C++ got away with it for 10+ years not even having a notion of a 
thread. And since globals are defined as thread-local, there is some 
notion of memory model isn't it? ;)

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list