User: Password:
|
|
Subscribe / Log in / New account

Single-threading not considered harmful

Single-threading not considered harmful

Posted May 7, 2011 16:58 UTC (Sat) by Aliasundercover (subscriber, #69009)
In reply to: Single-threading not considered harmful by quotemstr
Parent article: Scale Fail (part 1)

My complaint with threading is correctness more than performance. With all resources shared between all threads the scope of an error is the whole application. Use more explicit sharing and the really dangerous errors get confined to the smaller portions of the program actually dealing with the sharing.

Performance scaling? Sure, shared memory doesn't scale to the largest jobs. For that you need methods that cross machines. Those methods don't scale to the smallest latencies. For that you need shared memory.

Still, I agree. Threading is too much the method of fashion more because everyone is doing it than technical merit. Of course everyone doing it means you get to use libraries other people wrote and spend less time swimming up stream.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds