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

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 17 09:32:42 PDT 2014


On 9/17/14, 9:30 AM, Dicebot wrote:
> Ironically, strings have been probably least of my GC-related issues
> with D so far - hard to evaluate applicability of this proposal because
> of that. What are typical use cases for such solution? (not questioning
> its importance, just being curious)

Simplest is "I want to use D without a GC and suddenly the string 
support has fallen down to bear claws and silex stones."

RCString should be a transparent (or at least near-transparent) 
replacement for string in GC-less environments.


Andrei



More information about the Digitalmars-d mailing list