News for hackers. Stuff that matters.
Re:The State of Go by nindalf on Wednesday May 27, 2015 @05:50AM (#9610290)
This particular link has some info about that situation. GC pauses are deterministic starting Go1.5. Application code will run for at least 40ms out of every 50ms. The upper limit for the GC pause is 10ms and its typically lower.
Re:The State of Go by mkpankov on Wednesday May 27, 2015 @07:38AM (#9610635)
It's not "deterministic". It has limits on time consumption of GC defined. But you still can't tell when, and if, at any given moment you'll have a pause.
Re:The State of Go by Dewie3 on Wednesday May 27, 2015 @08:57AM (#9610990)
As soon as you put limits like that you have to compensate by risking that you run out of memory -- if you can't meet the deadline, you can't fully scan the heap[1], free, and so on. Or is that wrong?

That seems like another variable to consider if you're in an environment where you have to somewhat control how much memory you use. But I don't know really know anything about the details of garbage collection, I just figured that that would be one of the trade-offs. So correct me if I'm wrong.

[1] Or whatever technique is used