(no title)
withoutboats3 | 9 months ago
Not to talk my own book, but there is a well-known alternative to C++ that can actually guarantee the absence of data races.
withoutboats3 | 9 months ago
Not to talk my own book, but there is a well-known alternative to C++ that can actually guarantee the absence of data races.
dataflow|9 months ago
Maxatar|9 months ago
TSAN does not check for race conditions in general, and doesn't claim to do so at all as the documentation doesn't include the term race condition anywhere. TSAN is strictly for checking data races and deadlocks.
Consequently this claim is false:
>The issue is that even if it statically proved the absence of data races in the C++ sense, that still wouldn't imply that your algorithm is race-free.
Race-free code means absence of data races, it does not mean absence of the more general race condition. If you search Google Scholar for race free programming you'll find no one uses the term race-free to refer to complete absence of race conditions but rather to the absence of data races.
withoutboats3|9 months ago