After 7 years, it turns out that implementing CockroachDB in Go was the right choice
Share the experience of the CockroachDB team using Go. Go was chosen to implement CockroachDB 7 years ago (November 3, 2015). Now look back at the original choice. The first question many developers ask us is what is our experience writing distributed databases in the garbage-collected language Go. JVM garbage collection is notoriously expensive (resource-hungry), so aren't we taking a performance risk by building CockroachDB in Go? In fact, when you're building high-performance distributed systems, you have only a handful of languages to choose from, with C++, Java, and Go at the top of the list....