Re:Git: Malicious repositories can execute remote code while...
by josefx on Wednesday March 10, 2021 @01:24AM
(#26408395)
A lot of threading issues are also cache related. Forget to properly mark access to shared variables and suddenly every thread /CPU core ends up with its own locally cached version of it.
[ Parent
| on HN ]
Re:Git: Malicious repositories can execute remote code while...
by Agentlien on Wednesday March 10, 2021 @01:46AM
(#26408549)
Yes, but this is such a well understood danger that I've never really been bitten by it in practice.
Along the same lines a lot of GPU programming tutorials warn of inconsistencies between threads and it has never been a problem since I just assume I cannot rely on consistency or order of execution, seeing each thread as separate and independent.