News for hackers. Stuff that matters.
Re:Real-Time Garbage Collection Is Real by userbinator on Monday November 10, 2014 @05:02PM (#8586846)
our running programs may exceed the amount of space we want them to take

The majority of real-time systems are the small embedded ones where both speed and size are usually highly constrained, so this doesn't look as useful as it may seem. It's well known that GC overhead decreases with increasing available memory, so the result shouldn't be so surprising. A relevant phrase I've heard is "garbage collection is free only if memory is worth nothing."

Limiting the amount of work the GC can do also means that some quite subtle bugs can arise from exceeding the "allocation rate" that it can handle, which is something that might not be as easy to determine in GC-using code.

but not the amount of space that we estimate they could possibly take

I think it's a bad sign when the word "estimate" is used in talking about a real-time system... this is an area of guarantees and proofs, not educated guesses.

Re:Real-Time Garbage Collection Is Real by danbruc on Monday November 10, 2014 @05:59PM (#8587195)
It is not only useful for embed system with hard real-time constraints but may also, for example, improve server systems with (very) soft real-time constraints by reducing response time jitter due to garbage collection cycles.