unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: Why bother porting Guile to BDW-GC?
Date: Mon, 10 Nov 2008 22:10:02 +0100	[thread overview]
Message-ID: <87tzafp9sl.fsf@gnu.org> (raw)
In-Reply-To: 87skq2jjl4.fsf@gnu.org

Hello!

One more thought...

ludo@gnu.org (Ludovic Courtès) writes:

>   3. Benefit from an all-knowing GC.  While Guile's GC knows only about
>      the stack(s), registers and "cell heap", BDW-GC knows about all of
>      a process' storage: stack(s), registers, the whole heap,
>      thread-local storage, etc.
>
>      Concrete benefits:

       3g. No need to tell Guile about much memory is allocated behind
           its back, e.g., with malloc(3).  This makes
           `scm_gc_register_collectable_memory ()' and friends (info
           "(guile) Memory Blocks") no-ops.

           It also means that BDW-GC has accurate information about heap
           usage, even in the presence of third party libraries that
           can't be instrumented to use `scm_gc_malloc ()' et al.,
           allowing it to make informed decisions.

Thanks,
Ludo'.





  parent reply	other threads:[~2008-11-10 21:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 15:58 Why bother porting Guile to BDW-GC? Ludovic Courtès
2008-11-09  2:23 ` Han-Wen Nienhuys
2008-11-09  2:27   ` Han-Wen Nienhuys
2008-11-09 18:25   ` Ludovic Courtès
2008-11-10 20:57 ` Neil Jerram
2008-11-11 20:11   ` Ludovic Courtès
2008-11-11 20:32     ` Andy Wingo
2008-11-12  8:28       ` Ludovic Courtès
2008-11-10 21:10 ` Ludovic Courtès [this message]
2008-11-11 20:42 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzafp9sl.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).