Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

threaded progames

Name: Anonymous 2010-08-05 0:19

So guys I hear of many people saying single threaded programs suck. I personally program in java and i have a question. Even when i make a single thread program in java and then look @ it via jconsole it appears to have ~5-10 threads up at any time. Does that mean it's already multi-threaded and really wouldn't make a shit load of a difference since i'm already using multiple cores?

Name: Anonymous 2010-08-05 14:16

>>12
Single threaded does not necessarily mean sequential. However, even a sequential scraper could make more requests before completing the work on the previous request. Once again, CPU time is not the bottleneck.

>>14
Because people like >>12-kun here are more or less representative of the vocal crowd. Of the people who bring it up, /prog/ is only vaguely aware that "process" and "thread" can take on distinct meanings, never mind "multithreading" and "concurrency." I'd love to discuss concurrency and related topics all day long, but not here.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List