Hacker News new | ask | show | jobs
by rocha 5205 days ago
Are you processing data using 4000 threads? Do you have access to a cluster? Otherwise it seems counter-productive. BTW, Python has great facilities (IPython.parallel) for doing parallel and distributed computing. It is also pretty good at number crunching using Numpy.
1 comments

Goroutines are multiplexed onto a set of threads defined by the Go program. They're not each a full thread; it's more like Stackless Python's version of threads. http://www.stackless.com/
Good point. Since the OP was talking about execution speed, I thought he was using the word thread to refer to OS threads.
Even still, performing number crunching on 4000 Go thread seems like a bad idea.