|
|
|
|
|
by staticassertion
2973 days ago
|
|
This is true, Go is not memory safe in the presence of data races, and data races are possible in safe Go. But they're also generally easy to code-review out. There's definitely a huge difference between C and Go, regardless of this one caveat to Go's memory safety guarantees. They aren't using single threaded Go from what I can see. |
|
There is not a large difference between C and Go here. In fact, races might be easier in Go than in C, because it's easier for goroutines to close over mutable variables.