Re:Go vs. Crystal Performance
by jashmatthews on Tuesday June 23, 2020 @06:40PM
(#23621280)
The Go GC and the JVM GCs are built within very, very different constraints.
Since most short-lived allocations in Go are stack-allocated, the cost of adding a read-barrier and branching on every heap access is more expensive than the potential gain from bump-pointer allocation.
Since most short-lived allocations in Go are stack-allocated, the cost of adding a read-barrier and branching on every heap access is more expensive than the potential gain from bump-pointer allocation.