5 ms·
For all of the reasons you note above, this is why I've almost exclusively dealt with arena-style allocations of fixed-object-sizes when doing ultra low latency
by cplusplusfellow 3y ago
For all of the reasons you note above, this is why I've almost exclusively dealt with arena-style allocations of fixed-object-sizes when doing ultra low latency work.
- iainctduncan 3y agoHi, I'm just starting a (long) PhD in computer music languages, and one of my hoped-for projects is improving the GC for the Scheme implementation I work in for soft realtime use. If you (or anyone else) wouldn't mind sharing suggestion on resources for learning about low-latency modern GCs, it would be most appreciated. :-)
- moonchild 3y agoread the garbage collection handbook - https://gchandbook.org/ https://gchandbook.org/
- iainctduncan 3y agothanks, that's good to know. I'm working through his first GC book right now and plan to order the new edition of the gchandbook when I'm done the other (which I read was a gentler intro to the topic). iain
- pebal 3y agoYou can look at the SGCL garbage collector for C++: https://github.com/pebal/sgcl https://github.com/pebal/sgcl. It works in a separate thread, is locks-free and never stops the world.
- iainctduncan 3y agogreat, thanks!