Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #14682

Re: heap implementation

From "Rod Pemberton" <do_not_have@notemailnot.cmm>
Newsgroups comp.lang.forth
Subject Re: heap implementation
Date 2012-08-03 06:58 -0400
Organization Aioe.org NNTP Server
Message-ID <jvgap6$nl6$1@speranza.aioe.org> (permalink)
References <32efd358-5119-44a2-83fd-2a2967d81d32@y1g2000vbx.googlegroups.com> <jvevq7$r0f$1@speranza.aioe.org> <a80emiF5f6U1@mid.individual.net>

Show all headers | View raw


<vandys@vsta.org> wrote in message news:a80emiF5f6U1@mid.individual.net...
...

> This sounds more like a runtime thing.  malloc()
> records the size of the allocated object, so that free() can return its
> storage.  I don't think there's ever been an API to find out an allocated
> node's size--if you care, you have to keep it somewhere (usually in the
> allocate memory) for yourself.
>

So, why do those who program Forth need ALLOCATION ... ?
[The question is really directed to Hugh, not you...]


RP


Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

heap implementation Hugh Aguilar <hughaguilar96@nospicedham.yahoo.com> - 2012-08-02 00:25 -0700
  Re: heap implementation Alex McDonald <blog@nospicedham.rivadpm.com> - 2012-08-02 02:51 -0700
    Re: heap implementation Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-08-02 05:23 -0500
      Re: heap implementation Alex McDonald <blog@rivadpm.com> - 2012-08-02 13:57 -0700
  Re: heap implementation "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-08-02 18:45 -0400
    Re: heap implementation vandys@vsta.org - 2012-08-02 22:53 +0000
      Re: heap implementation Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-08-02 21:53 -0700
        Re: heap implementation "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-08-03 07:23 -0400
          Re: heap implementation anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-08-03 12:12 +0000
            Re: heap implementation Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-08-05 23:08 -0700
        Re: heap implementation Alex McDonald <blog@rivadpm.com> - 2012-08-03 08:41 -0700
      Re: heap implementation "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-08-03 06:58 -0400
        Re: heap implementation Alex McDonald <blog@rivadpm.com> - 2012-08-03 05:36 -0700
          Re: heap implementation Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-08-05 23:28 -0700
      Re: heap implementation Aleksej Saushev <asau@inbox.ru> - 2012-08-06 01:43 +0400
  Re: heap implementation "wolfgang kern" <nowhere@never.at> - 2012-08-17 19:57 +0200

csiph-web