Re: switch off GC?

2009-02-05 Thread Kagamin
Weed Wrote: I just would like that D could substitute C++ completely in all applications... D can do it. Phobos and Tango - can't.

Re: switch off GC?

2009-02-05 Thread Lutger
Weed wrote: I just would like that D could substitute C++ completely in all applications... D2 can easily, but it seems there is not so much interest if measured by what library code is available. D1 can do too, but if you want to use raii for memory management D2 has better facilities. In

Re: A array bug?

2009-02-05 Thread taqya
Chris Nicholson-Sauls Wrote: Stewart Gordon wrote: Ellery Newcomer wrote: taqya wrote: snip char[] a = a.dup; char[] b = b.dup; writefln(a + b); //Error: Array operations not implemented snip If so, the error informs you why you can't do that. snip Except that

Re: A array bug?

2009-02-05 Thread Stewart Gordon
Chris Nicholson-Sauls wrote: snip Suggest: Array operation 'OP' not implemented for type T[]. Where OP is here '+' and T is here char. It doesn't quite work like that. AIUI the only supported way of using array operations is assigning the result to an array slice, which this isn't. And

Re: A array bug?

2009-02-05 Thread Chris Nicholson-Sauls
Stewart Gordon wrote: Chris Nicholson-Sauls wrote: snip Suggest: Array operation 'OP' not implemented for type T[]. Where OP is here '+' and T is here char. It doesn't quite work like that. AIUI the only supported way of using array operations is assigning the result to an array slice,