Programming languages and performance

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 14 00:24:02 PDT 2015


Walter Bright:

> Algorithms don't actually do deforestation or fusion. The magic 
> happens in how the algorithm is implemented, i.e. the elements 
> are created lazily (on demand) rather than eagerly.

Stream fusion is often about laziness. There is a ton of 
literature about this topic.

Bye,
bearophile


More information about the Digitalmars-d mailing list