Y
Hacker News
new
|
ask
|
show
|
jobs
by
undrcvr-lagggal
3979 days ago
Indeed. It was probably hard to do because he's using Python which has problems due to its GIL. I myself would have went for Go, whoms CSP model matches this problem perfectly.
1 comments
lclarkmichalek
3979 days ago
He could just run the code in multiple process. Enough with the GIL bullshit.
link
undrcvr-lagggal
3979 days ago
That would be inefficient because you'd need to allocate extra stack, process datastructures, context switching, etc.
link
guiomie
3976 days ago
From experience, when you can, it's just better spawning multiple processes over doing multithreading.
link