Basics of parallel programming with Swiftlang

Click for: original source

Jan Olbrich wrote article about his and his team experience with understanding topics like concurrency and parallelism. Together you will learn how to program concurrently.

Article then reads about:

  • Synchronous vs Asynchronous
  • Concurrency vs Parallelism
  • Mechanisms for concurrency
  • Options to control concurrency

Article is extensive, e.g. when describing concurrency it dives into: process, thread, dispatch queues, operation queues, run loops, lightweight routine. The same goes for options to control concurrency, e.g. article describes: priority inversion, priority inheritance, lock, spinlock, mutex, semaphore…

There are so many options to do concurrent programming and this posts just scratches the surface. Excellent read!

[Read More]

Tags swiftlang programming web-development