September 28, 2015 Re: Reduce parameters [was pi program] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Monday, 28 September 2015 at 11:04:56 UTC, Russel Winder wrote:
> On Sat, 2015-09-26 at 10:46 +0000, John Colvin via Digitalmars-d-learn wrote:
>> […]
>
> I guess the summary is: it's a breaking change, so do it. No we can't do that it's a breaking change.
>
> Seems lame given all the other breaking changes that have been. Sad given that reduce is probably the single most important operation in parallel programming.
My thoughts exactly, even though it was partly me that pointed out the breaking changes...
I still think we should add fold[lr]? just to fix the ordering.
|
September 28, 2015 Re: pi program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta Attachments:
| On Fri, 2015-09-25 at 18:45 +0000, Meta via Digitalmars-d-learn wrote: > […] > > The main difference is that "method call" style is more amenable to chaining (and IMO, it looks cleaner as you don't have nesting parentheses. I guess coming from Clojure I was less worried about Lisp-style code. I'll try to be more Python/Java/Scala-ish ;-) -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 28, 2015 Re: Reduce parameters [was pi program] | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin Attachments:
| On Mon, 2015-09-28 at 11:37 +0000, John Colvin via Digitalmars-d-learn wrote: > […] > My thoughts exactly, even though it was partly me that pointed out the breaking changes... Curses, if no-one had pointed out it was breaking maybe no-one would have noticed, and just made the change? > I still think we should add fold[lr]? just to fix the ordering. Whatever happens in std.algorithm must also happen in std.parallelism. reduce in std.parallelism was constructed to be in harmony with std.algorithm and not UFCS. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
Copyright © 1999-2021 by the D Language Foundation