TIL that polysemy handles fork/join parallelism with extensible effects by literally just sharing the effect state across all threads and synchronizing on every effect that reads/writes it I had considered this as an option but I had never imagined anyone would actually do ithttps://twitter.com/lexi_lambda/status/1186411922968793093 …
-
Show this thread
-
like, on the one hand this is *super* cool because it means stretches of operations that don’t need the state run in parallel, and shared state fundamentally needs synchronization anyway but OTOH does anyone expect to/prepare for ever having race conditions with a State effect??
1 reply 0 retweets 9 likesShow this thread
Replying to @lexi_lambda
Variable level atomic updates is a better approach for shared state than arbitrary word-level granularity. But then folks will want the ability to update n vars simultaneously, then transactions...
10:17 AM - 22 Oct 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.