Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 6
    Once you are dealing with a runtime that reserves the right to stop the world and do garbage collection, you aren't really "real time". You can likely engineer something that will generally work within your constraints most of the time, but when you say things like "never" deviate more than 5%, it's harder to make those promises. Commented May 17, 2019 at 19:00
  • Good point. I guess when I say never, what I mean is really rare. So if GC takes up an entire second once a year I can live with that. Is there any good way of gathering statistical data? Commented May 17, 2019 at 19:08
  • There are different types of real-time systems. Soft real-time systems allow some deadlines to be missed. In audio processing specifically, many systems use a buffer to allow for missed deadlines. Real-time garbage collection is also an area of active research. Commented May 17, 2019 at 21:17
  • hackage.haskell.org/package/atom
    – user1198582
    Commented May 17, 2019 at 21:31