-3
submitted 11 hours ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 6 points 10 hours ago

Goroutines are amazing and extremely easy to use. You should include them wherever possible. But always be careful of Data Races

Goroutines are amazing and extremely easy to use. However, you should absolutely not include them wherever possible. Using them can in fact slow down a program for which they are not suited (context switching still has a cost), and they introduce non-trivial complexity.

Still, it's nice to see a post with some start-here optimization ideas; many Go optimization articles assume a deep experience with Go and can be daunting.

this post was submitted on 19 Sep 2024
-3 points (0.0% liked)

Golang

2161 readers
9 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS