manual memory management

Mehrdad wfunction at hotmail.com
Wed Jan 9 00:54:10 PST 2013


On Wednesday, 9 January 2013 at 08:51:47 UTC, Paulo Pinto wrote:
> On Wednesday, 9 January 2013 at 08:28:44 UTC, Mehrdad wrote:
>> On Wednesday, 9 January 2013 at 08:14:35 UTC, Walter Bright 
>> wrote:
>>> On 1/8/2013 11:42 PM, Mehrdad wrote:
>>>> (True, it wouldn't give you the power of a systems language, 
>>>> but that's quite
>>>> obviouly not my point -- the point is that it's a _perfectly 
>>>> possible_
>>>> memory-safe language which we made, so I don't understand 
>>>> Walter's comment about
>>>> a GC being "required" for a memory-safe language.)
>>>
>>>
>>> The misunderstanding is you are not considering reference 
>>> counting as a form of GC. It is.
>>
>> So you would say that C++ code (which uses reference counting) 
>> uses garbage collection?
>
> Yes.

You (or Walter I guess) are the first person I've seen who calls 
C++ garbage collected.



> Oh, a bit off topic but are you aware that C++11 has a GC API?

Yes, but I'm not aware of any code which claims to have written a 
GC for it.

> --
> Paulo



More information about the Digitalmars-d mailing list