Abstract


  • Automate the process of freeing up memory occupied by garbage objects

Simplify development

Programmer is free from the error-prone task(for example forgetting to release memory can lead to Memory leak) of manually releasing memory.

Large latency spikes

Garbage collector usually runs on a fixed interval. The garbage collector takes time to identifying Garbage & Reclaiming Memory, this can be resource demanding which introduces a significant latency to the application.

The diagram below shows the resources usage of Discord’s “Read States” which was written in Go. The regular big spikes are caused by Go’s garbage collector. They solve this issue by re-writing the application in Rust, refer to this article for more information.