News for hackers. Stuff that matters.
Re:Topics in Advanced Data Structures [pdf] by amelius on Monday April 29, 2019 @05:42PM (#19782879)
> Traditional data structures assume a single-threaded execution model and break if multiple operations canbe performed at once. (Just imagine how awful it would be if you tried to access a splay tree with multiplethreads.) Can you design data structures that work safely in a parallel model – or, better yet, take maxi-mum advantage of parallelism? In many cases, the answer is yes, but the data structures look nothing liketheir single-threaded counterparts.

Makes me wonder which data structures have "parallel" versions besides the two mentioned.

Re:Topics in Advanced Data Structures [pdf] by thekdude on Monday April 29, 2019 @06:43PM (#19783315)
The Art of Multiprocessor Programming by Herlihy and Shavit have many examples, including stacks, queues, skip lists, and hash tables. There's plenty of papers out there too that have parallel implementations of vectors, various tree structures and more.
Re:Topics in Advanced Data Structures [pdf] by teej on Monday April 29, 2019 @07:37PM (#19783674)
Re:Topics in Advanced Data Structures [pdf] by dominotw on Monday April 29, 2019 @10:09PM (#19784510)
would all of scala's default( immutable) datastructures fit the bill?
Re:Topics in Advanced Data Structures [pdf] by dominotw on Tuesday April 30, 2019 @11:12AM (#19788637)
I was just curious. Not sure why this is downvoted.