std.v2020.algorithm etc[ WAS: Is run.d going to be expand for runtime and the phobos library?]

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Mon Jun 22 15:53:53 UTC 2020


On 6/22/20 11:07 AM, jmh530 wrote:
> On Monday, 22 June 2020 at 14:33:53 UTC, Steven Schveighoffer wrote:
>> [snip]
>>
>> FeepingCreature is right, we should try and create a head mutable 
>> mechanism. I have envisioned it in the past as a tail-modifier 
>> mechanism (e.g. tail-const).
>>
>> -Steve
> 
> I just read a thread from 2010 on tail const/head mutable. Kind of 
> amazing that it is a difficult enough problem that it still hasn't been 
> resolved.

I don't think it's that difficult, it's that it has a rather large 
footprint. Qualifiers weigh heavily on the language.

I think going the lowering route with opCall() would be a much easier 
route, and also more expressive.


More information about the Digitalmars-d mailing list