3 ms·
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 pr
by undrcvr-lagggal 11y 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.
- lclarkmichalek 11y agoHe could just run the code in multiple process. Enough with the GIL bullshit.
- undrcvr-lagggal 11y agoThat would be inefficient because you'd need to allocate extra stack, process datastructures, context switching, etc.
- guiomie 11y agoFrom experience, when you can, it's just better spawning multiple processes over doing multithreading.