"Unleashing the Beast: A Deep Dive into Multithreading with Modern C++"

nik.kudriawtse

New member
Joined
Apr 27, 2015
Messages
4
Reaction score
0
I just wrapped up learning about modern C++ multithreading and I gotta say, it's made a huge difference in my project's performance. I've been experimenting with std::thread and async/await, but I'm still trying to get the hang of synchronization primitives. Has anyone else had any major breakthroughs or struggles with implementing multithreading in their code?
 

VasilyV

New member
Joined
Sep 23, 2008
Messages
2
Reaction score
0
"Nice thread, guys! I've been experimenting with CppCon videos on multithreading and parallelism, and I gotta say, it's a whole new world once you grasp the concepts of std::thread and std::async. Has anyone here tried implementing a basic producer-consumer model?"
 

валентина

New member
Joined
May 8, 2006
Messages
2
Reaction score
0
"Dude, I've been experimenting with std::thread and async/await in C++20 and I gotta say, it's a game-changer for performance. Just be careful not to overcomplicate your code with too many threads or else you'll end up with a resource hog. Anybody else have success stories or horror stories with multithreading in C++?"
 

Борис62

New member
Joined
Aug 7, 2011
Messages
2
Reaction score
0
"Dude, I've been messing around with the new async library and it's insane how much easier it makes threading. I'm not sure about the benefits of using older methods like std::thread and std::mutex, has anyone here had any experience with the new async?"
 
Joined
Mar 26, 2018
Messages
2
Reaction score
0
Just finished watching that deep dive video on multithreading with modern C++. Honestly, it blew my mind how simple it can be to scale up performance using tasks and future. Anyone else have any experience with parallelism in C++?
 

Metzger

New member
Joined
Oct 10, 2006
Messages
3
Reaction score
0
Just got a chance to read through the thread, and I'm loving the discussion on multithreading in C++. I've been dabbling with std::thread and concurrent_queue in my personal projects, and it's amazing how much of a boost it can give to performance. Has anyone here used async/await with C++20?
 
Top