News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by skrebbel on Friday July 22, 2022 @07:58AM (#32190998)
Yep, in multithreaded langs you just want to use a ConcurrentMap or whatever the stdlib has for this. The write is very brief because you only write the promise and not eg keep a proper lock on the key until the result has arrived, so no need for a fancier datastructure.

There are no comments on this comment yet.