Jim Clarke
1 min readNov 28, 2020

--

Recently I wrote the same program in c, go and python. My thoughts? Not much difference between c and go, I converted the program from go to c by pretty much copy and paste. go suffers from no real robust dataframe, can't find one for c at all. Python is the best for graphing but certainly the slowest. 6 mintues vs <2 seconds for c or go. I was reasonably able to graph in go. My style of writing is to declare all the variables I think I need at the begining and incrementaly compile to make sure what i just wrote is working. Go will throw an error and stop compiling if you don't use a variable you declared. Least favoriate feature of go.

https://rjames-clarke.medium.com/simple-epidemic-modeling-in-go-e81d56d3a4f4

https://rjames-clarke.medium.com/tracking-and-plotting-covid-19-in-golang-50a6f50d89ce

--

--

Jim Clarke
Jim Clarke

Written by Jim Clarke

Electronics Engineer with Masters in Physics and Masters in Operations Research.

No responses yet