Click here to Skip to main content
15,884,629 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.

 
GeneralRe: Multithreaded code is ridiculous Pin
maze317-Jul-20 0:59
professionalmaze317-Jul-20 0:59 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch17-Jul-20 2:31
mvahoney the codewitch17-Jul-20 2:31 
GeneralRe: Multithreaded code is ridiculous Pin
Thomas Chizek17-Jul-20 1:48
Thomas Chizek17-Jul-20 1:48 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch17-Jul-20 2:05
mvahoney the codewitch17-Jul-20 2:05 
GeneralRe: Multithreaded code is ridiculous Pin
Thomas Chizek17-Jul-20 2:15
Thomas Chizek17-Jul-20 2:15 
GeneralRe: Multithreaded code is ridiculous Pin
computer_nerd17-Jul-20 2:26
computer_nerd17-Jul-20 2:26 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch17-Jul-20 2:29
mvahoney the codewitch17-Jul-20 2:29 
GeneralRe: Multithreaded code is ridiculous Pin
obermd17-Jul-20 3:32
obermd17-Jul-20 3:32 
If you're having these issues you're doing it wrong. Multi-threaded code requires careful thought about how the threads, including the UI thread, will interact. It sounds to me like you're not thinking through thread interaction and just spending the time writing examples. If you want to teach this you must teach how to think about the problem first.

I've written applications that scale to the number of processors - no more, no less, and this scaling required zero changes in the code once properly implemented. The same goes for UI interactions. The reason this worked is because I thought about the inter-thread communications before writing a single line of production code. Yes, I tested several possible options before committing to a model, but that's part of the thought process.

Is multi-threaded code harder to write? By all means yes. Does this mean it needs to be super complex? Definitely not!

GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch17-Jul-20 5:30
mvahoney the codewitch17-Jul-20 5:30 
AnswerRe: Multithreaded code is ridiculous Pin
Chad3F22-Jul-20 9:57
Chad3F22-Jul-20 9:57 
GeneralRe: Multithreaded code is ridiculous Pin
honey the codewitch22-Jul-20 10:58
mvahoney the codewitch22-Jul-20 10:58 
GeneralOutlook Down for Some Worldwide Pin
CodeWraith15-Jul-20 9:35
CodeWraith15-Jul-20 9:35 
GeneralRe: Outlook Down for Some Worldwide Pin
Richard Deeming15-Jul-20 23:33
mveRichard Deeming15-Jul-20 23:33 
NewsOutlook Down for Some Worldwide Pin
Cp-Coder15-Jul-20 9:12
Cp-Coder15-Jul-20 9:12 
GeneralRe: Outlook Down for Some Worldwide Pin
Ron Anders15-Jul-20 15:00
Ron Anders15-Jul-20 15:00 
GeneralXml Notepad 2007 Pin
Gerry Schmitz15-Jul-20 7:40
mveGerry Schmitz15-Jul-20 7:40 
GeneralRe: Xml Notepad 2007 Pin
CodeWraith15-Jul-20 7:51
CodeWraith15-Jul-20 7:51 
GeneralRe: Xml Notepad 2007 Pin
Gerry Schmitz15-Jul-20 8:28
mveGerry Schmitz15-Jul-20 8:28 
GeneralRe: Xml Notepad 2007 Pin
CodeWraith15-Jul-20 8:36
CodeWraith15-Jul-20 8:36 
GeneralRe: Xml Notepad 2007 Pin
Mike Hankey15-Jul-20 7:57
mveMike Hankey15-Jul-20 7:57 
GeneralRe: Xml Notepad 2007 Pin
Nelek15-Jul-20 8:46
protectorNelek15-Jul-20 8:46 
GeneralRe: Xml Notepad 2007 Pin
Gerry Schmitz15-Jul-20 9:11
mveGerry Schmitz15-Jul-20 9:11 
GeneralRe: Xml Notepad 2007 Pin
RickZeeland15-Jul-20 9:57
mveRickZeeland15-Jul-20 9:57 
GeneralRe: Xml Notepad 2007 Pin
BryanFazekas16-Jul-20 9:04
BryanFazekas16-Jul-20 9:04 
GeneralRe: Xml Notepad 2007 Pin
Gerry Schmitz16-Jul-20 11:25
mveGerry Schmitz16-Jul-20 11:25 

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.