Awesome thread on C++ persistent memory:https://www.reddit.com/r/cpp/comments/8ni6p4/q_how_should_c_support_persistent_memory/ …
-
-
Replying to @TimSweeneyEpic
What is your take on this? Also, how do you think Haskell should support persistent mem?
1 reply 0 retweets 0 likes -
Replying to @PLT_cheater
I’m not sure, but I think C++ needn’t do anything, and the heavy lifting should be in libraries. In Haskell, STM is the best way to organize all mutable state including transactions - not just for concurrency but now also for ensuring transactional memory integrity.
4 replies 0 retweets 3 likes -
Replying to @TimSweeneyEpic
Thanks. How does transactional memory relate to persistent memory? I must be missing the connection.
1 reply 0 retweets 0 likes
They are orthogonal. When they’re integrated, transactions provide the assurance that a set of related updates occur atomically, and if power is lost or there’s a crash, subsequent program invocations will either see all the changes or none. Else data corruption is a big risk.
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.