public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ross Smith <ross.s@ihug.co.nz>
To: Per Bothner <bothner@pacbell.net>
Cc: egcs@egcs.cygnus.com
Subject: Re: Blocks in g++ ?
Date: Wed, 30 Jun 1999 15:43:00 -0000	[thread overview]
Message-ID: <376207CB.2A6AAB5F@ihug.co.nz> (raw)
Message-ID: <19990630154300.bxX9xUfhLZZGDBpWziL5eCh217IzMzimHs1btLlIYQY@z> (raw)
In-Reply-To: <m2pv329w97.fsf@magnus.cygnus.com>

Per Bothner wrote:
> 
> Closures are objects.  (You can simulate objects using closures and
> vice versa, fairly painlessly.)  The problems is how to reclaim the
> memory used by a closure if you are passing around a reference to
> a closure object.

Why is this a problem? That is: If closures are objects, why is memory
management more difficult for closures than it is for any other kind of
object? I mean, C and C++ have had pointers since the year dot. Every
programmer has learned how to manage memory. What's different about
closures?

--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
  I know you're desperate, I really sympathise
  I see the morbid horror flicker in your eyes
  But rest assured I'm gonna help to ease your pain
  I'm gonna put a thousand tiny implants in your brain     [Motorhead]

  reply	other threads:[~1999-06-30 15:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-10 23:40 Thomas Steffen
1999-06-11  5:44 ` Joern Rennecke
1999-06-11  6:08   ` Thomas Steffen
1999-06-30 15:43     ` Thomas Steffen
1999-06-30 15:43   ` Joern Rennecke
1999-06-11 15:56 ` Per Bothner
1999-06-12  0:09   ` Ross Smith [this message]
1999-06-30 15:43     ` Ross Smith
1999-06-12  8:56   ` Thomas Steffen
1999-06-12  9:38     ` Bruce Stephens
1999-06-30 15:43       ` Bruce Stephens
1999-06-12 14:27     ` Martin Uecker
1999-06-30 15:43       ` Martin Uecker
1999-06-30 15:43     ` Thomas Steffen
1999-06-30 15:43   ` Per Bothner
1999-06-30 15:43 ` Thomas Steffen
  -- strict thread matches above, loose matches on Subject: below --
1999-06-14  1:10 Thomas Steffen
1999-06-30 15:43 ` Thomas Steffen
1999-06-10  5:31 Thomas Steffen
1999-06-10  5:38 ` Joern Rennecke
1999-06-10  9:19   ` Per Bothner
1999-06-10 12:03     ` Bruce Stephens
1999-06-30 15:43       ` Bruce Stephens
1999-06-30 15:43     ` Per Bothner
1999-06-30 15:43   ` Joern Rennecke
1999-06-30 15:43 ` Thomas Steffen

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

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

  git send-email \
    --in-reply-to=376207CB.2A6AAB5F@ihug.co.nz \
    --to=ross.s@ihug.co.nz \
    --cc=bothner@pacbell.net \
    --cc=egcs@egcs.cygnus.com \
    /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).