I came across this blog which talks about about how you could parallelize all the STL algos with a simple argument passed into them. So I was excited to try this but it disappointed me to such a large extent that I am scared to go back to trusting anything in the newer C++ versions.
I read through the blog, also went through the chapter dedicated in the book. Everything about this feature sounded great, even with its minor caveats. Little did I know about the higher order bit that was not mentioned clearly.
The feature is Parallel STL Algorithms but it is not supported anywhere
outside MSVC. I think that means, it’s a Windows only feature?! Then why the
heck is it even mentioned about in a C++-17 book? Is it just because
Microsoft arm twisted the C++ Community to standardize it? I don’t even know
who is at fault here? All I know is that the ones losing out are the devs and
Bring Your Own Cause
If you think any info here has remotely helped you consider dropping a penny for this cause, just click me . You can visit https://www.bbc.com/news/world-asia-india-52672764 Unfortunately, there are plenty of sad things happening all over the world, if you have a different cause or charity you'd rather support please do. And if you did make a donation, please drop a note to me (annotated) or leave a comment here (anonymous is OK!) and I will use that as motivation to write more useful content here.
If you like topics such as this then please consider subscribing to my podcast. I talk to some of the stalwarts in tech and ask them what their favorite productivity hacks are:
Available on iTunes Podcast
Visit Void Star Podcast’s page on iTunes Podcast Portal. Please Click ‘Subscribe’, leave a comment.