Hacker News new | ask | show | jobs
by talolard 1470 days 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 ?
3 comments

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.

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.

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.

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.