Skip to content

Comment on GoPar: Automatic Loop Parallelization of Go Programsparent

Comments

"Such is modern computing: everything simple is made too complicated because it’s easy to fiddle with; everything complicated stays complicated because it’s hard to fix." - Rob Pike

The point is your code is very verbose compared to the original, and anyone will take at least twice as long trying to figure out the interaction between channels and goroutine launches vs the sequential version.

for i, v := range a { a[i] = process(v) }

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.