Y
Hacker News
new
|
ask
|
show
|
jobs
by
speedgoose
2217 days ago
Golang's concurrency can be much more cumbersome in some cases.
const foo = await Promise.all(randomArray.map(bar));
I would have to google stuff to know where to start for the golang version.
1 comments
hombre_fatal
2217 days ago
Spoiler: 40 lines of wait group code in Go to implement that.
link