Go or Golang was designed at Google in 2007 and is syntactically similar to C, but with memory safety, garbage collection, and structural typing. In addition to its blazingly fast performance, Go, unlike Python, allows for easy concurrency just like in C++ or Java. Concurrency allows multiple programs or algorithms (including those of ML) to be executed asynchronously without affecting the final outcome.
Photo by Fotis Fotopoulos on Unsplash
With this in mind, I plan to compare the pros and cons of using Golang to build a simple ML pipeline. I will simultaneously use Python as a reference point. Also, I will provide my personal opinion on the language in general and to evaluate whether Go has a future within the AI/ML community. So, let’s dive right into it.
Note: Before we proceed, this post will not cover how to install and setup Go in your machine. If you have not already done so, please follow these comprehensive instructions.
Table of Content:
#python #data-science #golang #go