Our Sister
Seb via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 26 11:44:42 PDT 2016
On Thursday, 26 May 2016 at 17:45:15 UTC, Xinok wrote:
> On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
> wrote:
>> I've been working on RCStr (endearingly pronounced "Our
>> Sister"), D's up-and-coming reference counted string type. The
>> goals are:
>> ...
>
> I don't know how practical this would be, but if at all
> feasible, I think one of the goals should be to have a common
> interface/primitives with regular strings so we can write
> generic functions which accept both native strings and RCStr.
Great news!
I think one can't stress this enough: If you want RCStr to be
adapted it has to be a drop-in replacement for string.
Maybe we can bundle the transition from auto-decoding with the
adaption to a RCString. There was the proposal of having String
without auto-decoding for this migration.
More information about the Digitalmars-d
mailing list