Escaping the Tyranny of the GC: std.rcstring, first blood

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 15 03:13:27 PDT 2014


On Monday, 15 September 2014 at 09:53:28 UTC, Robert burner
Schadek wrote:
> On Monday, 15 September 2014 at 02:26:19 UTC, Andrei 
> Alexandrescu wrote:
>>
>> The road there is long, but it starts with the proverbial 
>> first step. As it were, I have a rough draft of a 
>> almost-drop-in replacement of string (aka immutable(char)[]). 
>> Destroy with maximum prejudice:
>>
>> http://dpaste.dzfl.pl/817283c163f5
>>
>
> I haven't found a single lock, is single threading by design or 
> is thread-safety on your todo?

There's no use of `shared`, so all data involved is TLS.


More information about the Digitalmars-d mailing list