by makuto · 5y ago · 0 comments
I think Lisps tend to optimize for throughput, but games have very strict latency requirements. Garbage collection pauses could cause frame pacing issues (not that C solves that completely, but it is at least not a built in disadvantage of idiomatic use of the language)
How much did the development of Azul's C4 or Oracle's Shenandoah cost in terms of money, talent and time and how much has this work lowered the barrier for less well resourced languages? I don't get the impression that the answer to this question is: "enough that we will soon see low-latency, high-throughput garbage collectors becoming the norm".
In Erlang's, the key is that garbage collection is per process. (Note that Erlang processes are analogous to Golang green threads, not OS prcessses.)
https://erlang.org/doc/apps/erts/GarbageCollection.html#over...
(btw, I'm enjoying the Reactor podcast, keep it up)
Thank you! Since we don't get many comments on reactor.am, it's hard to tell if it's useful for others to share our masterminds.