4 ms·
Solution: use Clojure's STM. If you listen to Rich Hickey's early presentations following Clojure 1.0 he detailed how spending over a decade trying to write con
by cutler 4y ago
Solution: use Clojure's STM. If you listen to Rich Hickey's early presentations following Clojure 1.0 he detailed how spending over a decade trying to write concurrent code in Java with locks drove him to search for something simpler.
- MrBuddyCasino 4y agoSTM is not that fast. The easier solution is to switch to virtual threads and sidestep the issue.
- eternalban 4y agoClojure's STMs (originally borrowed from Scala iirc) are not going to help you with concurrent file IO.