logoalt Hacker News

Jyaifyesterday at 7:54 PM3 repliesview on HN

> a subtle data race and a rare deadlock

That's a langage problem that humans face as well, which golang could stop having (see C++'s Thread Safety annotations).


Replies

kbolinoyesterday at 9:09 PM

Go has a pretty good race detector already, and all it (usually) takes to enable it is passing the -race flag to go build/test/run/etc.

Thaxlltoday at 12:37 AM

No language protects from dead lock.

awesome_dudeyesterday at 8:43 PM

You should be using rust... mm kay :\

show 1 reply