Re: Lock-free reference counting



"Jon Harrop" <jon@xxxxxxxxxxxxxxxxx> wrote in message news:2P6dnTiLNYiQOLPUnZ2dneKdnZzinZ2d@xxxxxxxxxxxxxxxxx
Chris M. Thomasson wrote:
"Mark Wooding" <mdw@xxxxxxxxxxxxxxxx> wrote in message
news:slrngirpj5.5k5.mdw@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Chris M. Thomasson <no@xxxxxxxxxxxx> wrote:

Yes it does. The GC might collect sooner wrt your example once in a blue
moon. This is all about determinism -vs- non-determinism.

No, as I pointed out elsewhere. (Tracing) GC behaviour is more complex
and harder to predict but not necessarily non-deterministic.

When I say non-deterministic wrt GC I mean that one cannot always show
_exactly_ when and where objects will be collected and destroyed.

Then we really mean "predictable" rather than "deterministic". GCs are
unpredictable whereas reference counting is not. Both can be deterministic.

Fair enough.

.



Relevant Pages

  • Re: Life as Nano
    ... > "Too many stories treat nanotechnology as magic, ... could build, say, rockets to the moon. ... deterministic systems on the molecular scale and - well, ...
    (sci.nanotech)
  • Re: religious belief as a defense against randomness
    ... Freedom is inherent in faith. ... and "predictable", and since determinism is bad, freedom is found in the limits ... of our predictions. ... where the moon is, thus the moon is not deterministic, thus the moon is ...
    (talk.origins)
  • Re: religious belief as a defense against randomness
    ... Freedom is inherent in faith. ... and "predictable", and since determinism is bad, freedom is found in the limits ... of our predictions. ... where the moon is, thus the moon is not deterministic, thus the moon is ...
    (talk.origins)
  • Re: Lock-free reference counting
    ... "Mark Wooding" wrote in message ... moon. ... This is all about determinism -vs- non-determinism. ...
    (comp.programming)
  • Re: Lock-free reference counting
    ... "Jon Harrop" wrote in message ... earliest opportunity by posting code that uses a GC to collect even ... You want to have a different discussion about determinism. ... This is all about determinism -vs- non-determinism. ...
    (comp.programming)