News for hackers. Stuff that matters.
Re:Conc: Better Structured Concurrency for Go by tjdevries on Wednesday January 11, 2023 @08:12PM (#34347706)
I'm not sure what you don't like? Sorry, must just be missing your point.
Re:Conc: Better Structured Concurrency for Go by kubanczyk on Thursday January 12, 2023 @05:45PM (#34361323)
I'm guessing it's about creating a GOMAXPROCS pool of goroutines which are then (wastefully) competing with each other for an atomic loop counter.

It got me curious what's faster when looping over a slice of million elements: to use a million separate goroutines or to use that pool.