vext01,
@vext01@lemmy.sdf.org avatar

Programming with threads is much harder than using a single thread.

First your workload has to be split up in such a way that it can be distributed. That’s not always possible.

The you gotta insert “synchronisation” to avoid a whole class of concurrency issues.

Hence programmers always default to a single thread unless really needed.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines