3 ms·
I was going to leave basically this same comment -- I like Go, but the fact that it doesn't have nice locking support always gets to me. (Almost every Go progr
by Manishearth 10y ago
I was going to leave basically this same comment -- I like Go, but the fact that it doesn't have nice locking support always gets to me.
(Almost every Go program I've written uses goroutines so I end up using locks in almost every program I write)
There's no way to do this without language support or sacrificing perf with interface, so I get why nicer locks don't exist, I just wish they did.