Why #concurrency is hard ?
▻https://hackernoon.com/why-concurrency-is-hard-a45295e96114?source=rss----3a8144eabfe3---4
Why Concurrency is hard ?A few weeks back, I was invited to talk about concurrency at a local university. This write up summarizes what I presented there.We all learn about parallelism/concurrency during the university or in other ways. Any one who is learning how to program will inevitably read/learn about fundamental concepts such as,Threads, Thread Groups, Thread StatesRace Conditions, Mutual Exclusion, Dead Locks, StarvationLocks, Barriers, Thread Locals, Atomic variablesThis list goes on …Even though concurrency is a mainstream still we find it difficult to deal with. Why?Some observations:There is a significant gap between introductory material on concurrency and real-world concurrent/distributed applications.Most of us end up not following the best practices.Applying text book, (...)
#software-architecture #java #programming #software-development