What is Nostr?
weilawei /
npub1hyg…98h0
2024-06-08 10:00:36
in reply to nevent1q…sa9d

weilawei on Nostr: I have thoughts on the STL, but they're related to concurrency, not game dev. ...

I have thoughts on the STL, but they're related to concurrency, not game dev. Frankly, the STL is specced with a single-threaded model of execution in mind, and it makes this explicit by requiring certain behaviors out of containers.

Turns out, this is an issue trying to map that interface onto lock-free implementations, because it assumes mutability--and lock-free structures don't work that way.

I have unordered_map, unordered_set; I'm working on queue & vector.
Author Public Key
npub1hygs455y8xt0a3hcqh5k4d8gdg7xvveuplj994qnzywfl8pg5ycspl98h0