2 ms·
Some older VMs like Erlang's also do very well in avoiding GC pauses. In Erlang's, the key is that garbage collection is per process. (Note that Erlang process
by AlchemistCamp 6y ago
Some older VMs like Erlang's also do very well in avoiding GC pauses.
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.)
- dugmartin 6y agoAnd 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#overview https://erlang.org/doc/apps/erts/GarbageCollection.html#over... (btw, I'm enjoying the Reactor podcast, keep it up)
- AlchemistCamp 6y ago> (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.