Re:Concurrency Is Not Parallelism (2013)
by derefr on Monday April 27, 2015 @10:13PM
(#9450262)
I would phrase it as:
Concurrency is a possible feature of an abstract machine, exposed as a programming-language-design paradigm. A language can target a platform that "has concurrency", and this heavily shapes the language. You can end up "coding Go/Erlang in C"—writing concurrent code in your head for a concurrent abstract machine, then translating it to your target language.
Parallelism, meanwhile, is a VM/runtime/platform implementation detail.
Concurrency is a possible feature of an abstract machine, exposed as a programming-language-design paradigm. A language can target a platform that "has concurrency", and this heavily shapes the language. You can end up "coding Go/Erlang in C"—writing concurrent code in your head for a concurrent abstract machine, then translating it to your target language.
Parallelism, meanwhile, is a VM/runtime/platform implementation detail.