3 ms·
I am also getting going with Go. I'm writing a multi-threaded (i.e. multi-goroutine) genetic algorithm to solve the Traveling Salesman Problem. Since Go is mean
by yessql 14y ago
I am also getting going with Go. I'm writing a multi-threaded (i.e. multi-goroutine) genetic algorithm to solve the Traveling Salesman Problem. Since Go is meant for severs, its a webapp that renders the output in HTML5 Canvas. Just getting started, so the code is badly organized, but it works: https://github.com/YesSql/GolangTspGa https://github.com/YesSql/GolangTspGa
Go is really fun to work with, although the compiler messages are still a bit cryptic. Also its intolerance of things that are normally warnings (like unused variables) is really aggressive, which is kind of painful while you are learning, but I suppose will lead to cleaner code in the future.