News for hackers. Stuff that matters.
Re:Lockless Algorithms for Mere Mortals by DenisM on Wednesday July 29, 2020 @08:02PM (#23992908)
I feel it would be more productive to let databases handle any shared state and only write my own code that uses local state. If the databases are falling short I am sure they will catch up in a hurry, and will do a better job than I will have time for.
Re:Lockless Algorithms for Mere Mortals by codr7 on Wednesday July 29, 2020 @08:16PM (#23992997)
Many languages/standard libraries offer some kind of concurrent map that might be worth considering depending on context, sync.Map in Golang for example.