In my 20+ years of programming, I've yet to write an app where I felt I "had" to use multiple threads. All of my work has been as a solo programmer, writing standalone apps - all GUI, minimal database interface, minimal network considerations, a lot of graphics with animation, and only a few places where calculation time was a big factor.
So, my question for forum folks is can you give an example (in general terms) of an app you wrote where using threads gave a clear advantage - or perhaps allowed an app to work where a non-threaded approach did not?
I've read enough that I can intellectually understand some of the benefits of threads, but what I've read hasn't compelled me to use them. It may be that my particular programming needs don't require threads, but I've read so many forum comments on threads that it seems like many? programmers use them - except me.
I've starting looking again at using threads and I'm having a hard time getting excited about it. So I thought I'd take a look at the practical reasons folks turn to threads.
So, my question for forum folks is can you give an example (in general terms) of an app you wrote where using threads gave a clear advantage - or perhaps allowed an app to work where a non-threaded approach did not?
I've read enough that I can intellectually understand some of the benefits of threads, but what I've read hasn't compelled me to use them. It may be that my particular programming needs don't require threads, but I've read so many forum comments on threads that it seems like many? programmers use them - except me.
I've starting looking again at using threads and I'm having a hard time getting excited about it. So I thought I'd take a look at the practical reasons folks turn to threads.
Comment