Re:Cakelisp: A Programming Language for Games
by dugmartin on Monday December 21, 2020 @09:39AM
(#25495303)
And in the BEAM the garbage collector is only invoked when the heap and stack meet which means for most short-lived processes it never runs:
https://erlang.org/doc/apps/erts/GarbageCollection.html#over...
(btw, I'm enjoying the Reactor podcast, keep it up)
Re:Cakelisp: A Programming Language for Games
by AlchemistCamp on Wednesday December 23, 2020 @01:34PM
(#25520559)
> (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.
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.)