Carmack about static analysis

bearophile bearophileHUGS at lycos.com
Sat Dec 24 12:55:53 PST 2011


Andrei Alexandrescu:

>Anyhow, is there anything you have in mind that we have the chance of improving at this point?<

Two things that I think are able to improve the D code (beside a shorter lambda syntax) are Python Lazy/eager array comps (I'd like to write a post about this...).

If this is not possible then I think introducing amap and afilter (that means array(map()) and array(filter())) in Phobos is able to remove several parentheses from my current D code.

Bye,
bearophile


More information about the Digitalmars-d mailing list