Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Testing if a pointer is valid
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jacob navia  
View profile  
 More options Sep 23 2011, 5:08 pm
Newsgroups: comp.lang.c
From: jacob navia <ja...@spamsink.net>
Date: Fri, 23 Sep 2011 23:08:37 +0200
Local: Fri, Sep 23 2011 5:08 pm
Subject: Re: Testing if a pointer is valid
Le 23/09/11 23:01, Ian Collins a écrit :

> On 09/24/11 08:49 AM, Malcolm McLean wrote:
>> On Sep 23, 9:02 pm, jacob navia<ja...@spamsink.net> wrote:

>>> You allocate stuff with gc_malloc() and never free it. That is all
>>> there is. I do not see why that is no longer 'C'.

>> gc_malloc() can't be implemented in standard C, and requires intimate
>> knowledge of the architecture to sweep for orphaned memory blocks and
>> add them to the free list. That's enught o classify it as an extension
>> rather than simply as a new function. There's also the practical
>> reason that memory allocation is very fundamental, it changes the way
>> most programs are written.

> I don't see why people get so hung up in garbage collection. The
> compiler I mainly use has shipped with a collector since the 90s and it
> is still a standard C compiler. If I want to use the collector, all I
> have to do is link it with my standard C executable. Does the act of
> linking a garbage collector somehow make my code non-standard?

Well, that is gcc. Gcc can do whatever they want, the problem
is when lcc-win does the same :-)

THEN

"It is not C"
"He is selling is Warez"

etc etc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.