Struggling to implement parallel foreach...

Nicholas Wilson iamthewilsonator at hotmail.com
Mon Jun 17 10:18:59 UTC 2019


On Monday, 17 June 2019 at 09:47:30 UTC, Manu wrote:
> On Mon., 17 Jun. 2019, 7:25 pm Kagamin via Digitalmars-d, < 
> digitalmars-d at puremagic.com> wrote:
>
>> On Monday, 17 June 2019 at 01:26:53 UTC, Manu wrote:
>> >> Declare `s` as shared and it will work.
>> >
>> > `s` is not declared as shared... nothing is ever declared as 
>> > shared, that's why the current design is completely useless.
>>
>> Rewamping the language is too disrupting and I don't think it 
>> can be good, you better fork it.
>>
>
> I mean, if it comes to that... I really hope not.
> It would make it 100x harder to make the case to my company if 
> I start
> telling them that I couldn't produce a working demo without 
> forking the
> language :/

That is all moot if mutable promotes to shared under "New 
Shared"™, I don't think anybody disagrees that qualified local 
functions should work. It would be useful to decouple this from 
the the current discussion to avoid derailing.


More information about the Digitalmars-d mailing list