3 ms·
You want SIMD and parallel for, parallel map/reduce, etc. Goroutines are too heavyweight for most of these tasks: you will be swamped in creation, destruction,
by pcwalton 10y ago
You want SIMD and parallel for, parallel map/reduce, etc. Goroutines are too heavyweight for most of these tasks: you will be swamped in creation, destruction, and message passing overhead. What you need is something like TBB or a Cilk-style scheduler.
- weberc2 10y agoI see. It's worth noting that there are SIMD libraries for Go. I can't comment about them because I haven't used them.