← Writing

Runtime

8 posts

One Program, Seven Runtimes

Part 8, the last, of a series on how Go manages the stack and the heap: one workload written in Go, C, C++, Rust, Java, C#, Python and Erlang, run on Ubuntu 20.04's own kernel. How long a sleeping thread waits while each …

Memory the Runtime Keeps

Part 5 of a series on how Go manages the stack and the heap: how the Go runtime gives memory back to the operating system, and why top disagrees with it. One gigabyte freed by Go 1.11, 1.12 and 1.13 side by side on …