Click here to Skip to main content
15,892,199 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
RantMultithreaded code is ridiculous PinPopular
honey the codewitch15-Jul-20 10:45
mvahoney the codewitch15-Jul-20 10:45 
GeneralRe: Multithreaded code is ridiculous PinPopular
Greg Utas15-Jul-20 11:05
professionalGreg Utas15-Jul-20 11:05 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 11:47
mvahoney the codewitch15-Jul-20 11:47 
GeneralRe: Multithreaded code is ridiculous Pin
Greg Utas15-Jul-20 12:22
professionalGreg Utas15-Jul-20 12:22 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 12:36
mvahoney the codewitch15-Jul-20 12:36 
GeneralRe: Multithreaded code is ridiculous Pin
Greg Utas15-Jul-20 12:58
professionalGreg Utas15-Jul-20 12:58 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 13:16
mvahoney the codewitch15-Jul-20 13:16 
GeneralRe: Multithreaded code is ridiculous Pin
raddevus15-Jul-20 17:29
mvaraddevus15-Jul-20 17:29 
These issues you are discussing related to multi-threaded programming really are a problem.
It's amazing how it originally seemed like multi-threaded programming was the panacea but just became another problem. Smile | :)
Because it is so difficult a new thing has arisen: The Actor Model.
Basically, it is a way to say that you have some work that should be done and you set an Actor to doing that work. It will be done concurrently and then let you know when it is done.
In this way the threading part is abstracted away.
One of the main implementations of The Actor Model is called Akka (originally implemented on the JVM).
But now there is a .NET Version[^].

That site has a pretty good overview explanation of it all. The Actor Model really does fix a lot of what is wrong with the multi-threaded world.
Check it out and see what you think.
GeneralRe: Multithreaded code is ridiculous Pin
Member 1330167916-Jul-20 20:19
Member 1330167916-Jul-20 20:19 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch17-Jul-20 2:09
mvahoney the codewitch17-Jul-20 2:09 
GeneralRe: Multithreaded code is ridiculous Pin
Member 1330167917-Jul-20 6:28
Member 1330167917-Jul-20 6:28 
GeneralRe: Multithreaded code is ridiculous Pin
achillepaoloni18-Jul-20 7:23
achillepaoloni18-Jul-20 7:23 
GeneralRe: Multithreaded code is ridiculous Pin
raddevus15-Jul-20 17:34
mvaraddevus15-Jul-20 17:34 
GeneralRe: Multithreaded code is ridiculous Pin
Nelek15-Jul-20 22:16
protectorNelek15-Jul-20 22:16 
GeneralRe: Multithreaded code is ridiculous Pin
raddevus16-Jul-20 3:05
mvaraddevus16-Jul-20 3:05 
GeneralRe: Multithreaded code is ridiculous Pin
Greg Utas16-Jul-20 0:37
professionalGreg Utas16-Jul-20 0:37 
GeneralRe: Multithreaded code is ridiculous Pin
CodeWraith15-Jul-20 11:06
CodeWraith15-Jul-20 11:06 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 11:56
mvahoney the codewitch15-Jul-20 11:56 
GeneralRe: Multithreaded code is ridiculous Pin
CodeWraith15-Jul-20 12:04
CodeWraith15-Jul-20 12:04 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 12:34
mvahoney the codewitch15-Jul-20 12:34 
GeneralRe: Multithreaded code is ridiculous Pin
CodeWraith15-Jul-20 12:47
CodeWraith15-Jul-20 12:47 
GeneralRe: Multithreaded code is ridiculous Pin
PIEBALDconsult15-Jul-20 14:17
mvePIEBALDconsult15-Jul-20 14:17 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 14:18
mvahoney the codewitch15-Jul-20 14:18 
GeneralRe: Multithreaded code is ridiculous Pin
PIEBALDconsult15-Jul-20 14:44
mvePIEBALDconsult15-Jul-20 14:44 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch15-Jul-20 15:53
mvahoney the codewitch15-Jul-20 15:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.