edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] gc
Date: Sat, 04 Jan 2014 17:14:14 -0500	[thread overview]
Message-ID: <20140004171414.eklhad@comcast.net> (raw)

I have always wondered about gc in c++.
It cannot be easy and straightforward like it is in java.
(One reason I was always afraid of c++)
So possibly void * won't work, like you have to tell the compiler
that it's a pointer to a certain object of a certain class,
for c++ to keep it around.
Or - maybe you have to explicitly set void * x = object * o
so that when it crosses the equals sign it tells gc
that it is off somewhere else and should not be deleted.
Unfortunately this is advanced stuff that won't be in my first line tutorial.
And then moz js may have its own internal gc.
That would be stupid, to reinvent what c++ has already done, but who knows.
We need to become not just competent in this stuff, but near experts.

Karl Dahlke

             reply	other threads:[~2014-01-04 22:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-04 22:14 Karl Dahlke [this message]
2014-01-04 22:42 ` Chris Brannon
2014-01-04 22:52 ` Adam Thompson
2014-01-05  7:30 Karl Dahlke
2014-01-05 13:46 ` Adam Thompson
2014-01-05 19:52   ` Adam Thompson

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=20140004171414.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.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 NNTP newsgroup(s).