Clojure vs. D in creating immutable lists that are almost the same.

Brother Bill via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 27 14:31:28 PST 2016


Clojure supports immutable lists that allow adding and removing 
elements, and yet still have excellent performance.

For D language, what are the recommended techniques to use 
functional programming, without massive copying of data and 
garbage collection, so that it remains immutable.

That is, how to create one-off changes to an immutable data 
structure, while keeping the original immutable, as well as the 
one-off change, and maintain good performance.

Thank you


More information about the Digitalmars-d mailing list