Can you please explain why they are the best languages for these jobs?
Same for Ruby, the syntax is perfectly suited for transforming, digging through and acting upon data. I didn't even add a Gemfile, only used standard library functions, transforming the data the Go program mined into usable information serialized in JSON which was subsequently used as a static database for a webpage.
You can find the source here: https://github.com/tinco/stellar-core-go, the Go is in cmd and the Ruby is in tools.
The site it powers is now defunct, apparently they changed some stuff in the past 3 years and the crawler no longer functions.