Data races and the limits of ThreadSanitizer in C and Go

39 pointsposted 5 days ago
by matt_d

7 Comments

user

2 days ago

[deleted]

camkego

2 days ago

I’ve often thought that single threaded architectures that can eliminate whole classes of bugs are often undervalued.

For example, the command execution design of Redis is purely single threaded. (Redis does have other threads for slower activities)

pjmlp

a day ago

Because we were already there with multi-processing and OS IPC before mainstream OSes added multi-threading support, and while it is better for stability and security, there are additional hardware resources to account for.

To use modern speak, we were doing microservices inside a single computer.

1over137

4 days ago

Nice write up! I didn’t know about those TSan limits; it was informative.