caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] meta-gc (Re: concurrent gc?)
@ 2014-07-24 17:37 Raoul Duke
  2014-07-24 19:34 ` John F. Carr
  2014-07-25  7:28 ` Nicolas Boulay
  0 siblings, 2 replies; 4+ messages in thread
From: Raoul Duke @ 2014-07-24 17:37 UTC (permalink / raw)
  To: caml-list

> I agree with Malcolm's experience, and my situation might be similar to
> yours: games -- a lot of allocations at high framerate. I'm guessing this
> from how evil you consider pauses to be. ;)

yes, interactive apps.

> allocators -- you still need to use dynamic allocations wisely. Here, I
> think the biggest problem is when you have a GC, you lose awareness of the
> allocations you're triggering.

yes, those are nice down to earth wise words that need to be said more
often in every class :-)

to kick the question up a meta-level: Does anybody have thoughts on
how to best orthogonalize actual memory allocation from where the
application says it wants it? I mean if I write a stupid loop that
makes a zillion particles in the middle of each frame render then yes
I'm an idiot, sure... but what things can be done to actually allow
such idiocy to squeak by?

Maybe that's a horrible thing to suggest as it just panders. But I
like to think of it more along the lines of trying to tease things
apart as much as possible, and then some more (to corrupt an infamous
meme).

[In some sense that is what GC purported to be when it was being sold
like snake oil :-) and for a long time "regular" programmers knew
better and would make fun of e.g. lisp programmers.]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-25  7:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 17:37 [Caml-list] meta-gc (Re: concurrent gc?) Raoul Duke
2014-07-24 19:34 ` John F. Carr
2014-07-24 19:46   ` Raoul Duke
2014-07-25  7:28 ` Nicolas Boulay

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).