top | item 31744434

(no title)

talolard | 3 years ago

It’s been a long time since I touched c++, so pardon my naïveté. I’d have assumed that optimized thread pools were a done thing. What’s new here and why was there a gap ?

discuss

order

Randor|3 years ago

I looked through the code and I don't see anything new at all. Looks similar to the dozens of other thread pools I've reviewed over the years.

The author is a physicist. Looks like he just decided to publish about his C++ code.

beached_whale|3 years ago

There are lots of them and many are built into the OS(e.g. GCD on mac's, Windows has a thread pool api) plus TBB on all of them...)

It would be neat if the github site https://github.com/bshoshany/thread-pool or the paper did some comparisons to the existing body out there.

rat9988|3 years ago

Read 1.1 of the pdf: https://arxiv.org/pdf/2105.00613.pdf

It's too long to quote. I'm too lazy to summarise.

0xffff2|3 years ago

Nothing in that section explains why this is in any way new or innovative. The only interesting claim is "performance", but looking at the code, I don't see anything other than a simple naive thread-pool implementation.