3 ms·
I don’t understand the thread phobia Comparing it to nukes is a bit extreme, don’t you think?
by pizlonator 4mo ago
I don’t understand the thread phobia
Comparing it to nukes is a bit extreme, don’t you think?
- kikimora 4mo agoI don’t think it is extreme. Imagine this is added to WebKit. Now I have a new question to answer - can I use library X across multiple threads? How do I know it does not have a little cache inside which breaks if I call it from multiple threads? Another issue is lack of memory model (sorry if ai missed it) which means memory updates will be published to threads differently on different architectures. And then an obvious problem of mixing async with locks - never ends good.
- quotemstr 4mo ago> Comparing it to nukes is a bit extreme, don’t you think? Does Herb Sutter strike you as extreme? https://herbsutter.com/2013/02/11/atomic-weapons-the-c-memory-model-and-modern-hardware/ https://herbsutter.com/2013/02/11/atomic-weapons-the-c-memor...