Re:Writing a SQL database from scratch in Go
by matttproud on Monday April 13, 2020 @04:39PM
(#22859755)
A garbage collector is not inherently incompatible with a low-latency database. I was generally very happy with the performance of Go's garbage collector enough to have built Prometheus, the time series database, on it back in 2012, when the collector was considerably more naive.
Re:Writing a SQL database from scratch in Go
by eatonphil on Monday April 13, 2020 @09:36AM
(#22855697)
Truth is I've written about how to parse in better languages before (JavaScript, Python, Standard ML, etc.) and I wanted to figure out a good approach for doing it in Go.
As for databases and GC, you may be right but there are still major databases out there written in Java for example.
https://www.quora.com/Which-databases-data-stores-are-writte...
As much as I love rust, its learning curve is high and I'm sure Op doesn't want to spend half his article teaching all the intricacies of types and the borrow checker. Go is easy to learn over a weekend so its probably a better medium for illustrating the concepts as everything is laid out simply.