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


Groups > comp.lang.forth > #38191

Re: Oforth : garbage collector

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Oforth : garbage collector
Date 2015-04-14 10:38 -0700
Organization A noiseless patient Spider
Message-ID <87618yzk3o.fsf@jester.gateway.sonic.net> (permalink)
References <022c7978-f90a-4da6-bc24-e9d252eddbcd@googlegroups.com>

Show all headers | View raw


franck.bensusan@gmail.com writes:
> And, even if no parallelism is used, Oforth needs 2 threads : 
> - One that will run the interpreter (and run programs).
> - One that will alert that a GC is needed every 120 ms.
> ==> Perhap's this point can be improved too (by allowing manual GC
> management ?)

Given that you have Erlang-like process isolation(?), you could use a
separate heap and GC in each thread, like Erlang does.  That should
reduce GC latency in any individual thread.  Or are you already doing
that?  I don't understand the difference between your local (120ms) and
global (1.2s) GC's.

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


Thread

Oforth : garbage collector franck.bensusan@gmail.com - 2015-04-13 13:43 -0700
  Re: Oforth : garbage collector Paul Rubin <no.email@nospam.invalid> - 2015-04-14 10:38 -0700
    Re: Oforth : garbage collector franck.bensusan@gmail.com - 2015-04-14 14:17 -0700
      Re: Oforth : garbage collector Paul Rubin <no.email@nospam.invalid> - 2015-04-15 13:21 -0700
        Re: Oforth : garbage collector hughaguilar96@gmail.com - 2015-04-15 14:04 -0700
          Re: Oforth : garbage collector Mark Wills <markwills1970@gmail.com> - 2015-04-16 00:57 -0700
            Re: Oforth : garbage collector franck.bensusan@gmail.com - 2015-04-16 10:42 -0700
              Re: Oforth : garbage collector Paul Rubin <no.email@nospam.invalid> - 2015-04-16 12:45 -0700
                Re: Oforth : garbage collector franck.bensusan@gmail.com - 2015-04-16 13:27 -0700
                Re: Oforth : garbage collector Paul Rubin <no.email@nospam.invalid> - 2015-04-16 13:56 -0700
                Re: Oforth : garbage collector franck.bensusan@gmail.com - 2015-04-19 11:43 -0700
                Re: Oforth : garbage collector Paul Rubin <no.email@nospam.invalid> - 2015-04-19 20:38 -0700

csiph-web