On 9/19/2014 6:48 PM, Andrei Alexandrescu wrote:
On 9/19/14, 6:18 PM, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization. It has to be done
in such a way that the ARC and the existing exceptions can coexist.

Could you please elaborate why the disaster? -- Andrei


1. Every library for D will have to come in two versions. One which works, and the other is likely untested. This will divide the D community in half.

2. RC and GC engender different styles of programming. The idea that one can successfully switch between them with merely a compiler switch is a fantasy. You cannot write non-trivial programs that function well and pay no attention to how memory management is done.

Reply via email to