DIP 1014

Jonathan M Davis newsgroup.d at jmdavisprog.com
Sun Sep 30 06:08:16 UTC 2018


On Saturday, September 29, 2018 10:34:20 PM MDT Manu via Digitalmars-d 
wrote:
> Who knows about DIP 1014? (struct move hook)
> Is it well received? Is it likely to be accepted soon?
>
> I'm working on the std::string binding, it's almost finished... but
> then I hit a brick wall.
> GNU's std::string implementation stores an interior pointer! >_<
>
> No other implementation does this. It's a really bad implementation
> actually, quite inefficient. It could make better use of its space for
> small-strings if it wasn't wasting 8-bytes for an interior pointer to
> a small string buffer...
>
> Anyway, I'm blocked until this DIP is accepted; so, is it looking
> promising?

Per https://github.com/dlang/DIPs/tree/master/DIPs, it's at the "Formal
Assessement" stage, whatever that means (I'm not well enough versed in all
of the stages of the current DIP process to say what that means). However, I
would think that if Walter and Andrei were aware of this particular problem
with std::string, given the importance they place on interfacing with C++,
it would greatly increase the odds of that DIP being accepted.

- Jonathan M Davis





More information about the Digitalmars-d mailing list