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

2016-02-28 Thread QAston via Digitalmars-d
On Saturday, 27 February 2016 at 22:31:28 UTC, Brother Bill wrote: 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

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

2016-02-28 Thread Chris Wright via Digitalmars-d
On Sat, 27 Feb 2016 22:31:28 +, Brother Bill wrote: > 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

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

2016-02-28 Thread Abdulhaq via Digitalmars-d
On Saturday, 27 February 2016 at 22:31:28 UTC, Brother Bill wrote: 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. Clojure uses bit-partitioned hash tries. I

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

2016-02-28 Thread John Colvin via Digitalmars-d
On Saturday, 27 February 2016 at 23:19:51 UTC, w0rp wrote: On Saturday, 27 February 2016 at 22:31:28 UTC, Brother Bill wrote: Clojure supports immutable lists that allow adding and removing elements, and yet still have excellent performance. For D language, what are the recommended techniques

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

2016-02-27 Thread w0rp via Digitalmars-d
On Saturday, 27 February 2016 at 22:31:28 UTC, Brother Bill wrote: 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

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

2016-02-27 Thread Brother Bill via Digitalmars-d
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