From: Karl Zilles <zilles@1969.ws>
To: Brian Hurt <bhurt@spnz.org>
Cc: Basile Starynkevitch <basile.starynkevitch@inria.fr>,
Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Real Time Ocaml
Date: Mon, 19 Apr 2004 17:31:19 -0700 [thread overview]
Message-ID: <40846F57.9000201@1969.ws> (raw)
In-Reply-To: <Pine.LNX.4.44.0404191911490.6919-100000@localhost.localdomain>
Brian Hurt wrote:
> The only thing non-realtime in Ocaml is the garbage collection. There are
> realtime garbage collectors, which do a certain amount of work every
> allocation, so that a) the cost of every allocation is constant (or close
> enough), and b) that all the work the collector ever needs to do is
> distributed evenly among the allocations. The current collector, while
> perfect for non-realtime tasks (due to it's small average cost) is
> horrible for realtime because of the huge difference between the common
> case (5 instructions) and the worst case (mass collection)>
In a realtime garbage collector, how can you prove that you are freeing
unused memory as fast as you allocate it? In your attempt to put a
boundry on time, doesn't it open up the possiblility that you might run
out of space (even if your program has constant memory usage).
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-04-20 0:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 16:12 Erol Akarsu
2004-04-14 17:07 ` Basile STARYNKEVITCH
2004-04-15 6:51 ` Kenneth Knowles
2004-04-15 18:44 ` Brian Hurt
2004-04-16 7:55 ` Basile Starynkevitch
2004-04-16 12:33 ` Erol Akarsu
2004-04-16 15:12 ` skaller
2004-04-20 0:20 ` Brian Hurt
2004-04-20 0:31 ` Karl Zilles [this message]
2004-04-20 1:50 ` skaller
2004-04-14 18:21 ` Jon Harrop
2004-04-15 8:17 ` Hendrik Tews
2004-04-15 22:33 ` Erol Akarsu
2004-04-20 8:04 ` Hendrik Tews
2004-04-20 13:44 ` Eric Dahlman
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=40846F57.9000201@1969.ws \
--to=zilles@1969.ws \
--cc=basile.starynkevitch@inria.fr \
--cc=bhurt@spnz.org \
--cc=caml-list@inria.fr \
/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