Hacker News new | past | comments | ask | show | jobs | submit login

Concurrency doesn't rely on the number of available processing cores. You're thinking of parallelism.



I'm quite familiar with the distinction you're trying to make but the term concurrency is not that strict in common usage:

“In computer science, concurrency is a property of systems in which several computations are executing simultaneously, and potentially interacting with each other. The computations may be executing on multiple cores in the same chip, preemptively time-shared threads on the same processor, or executed on physically separated processors.”

https://en.wikipedia.org/wiki/Concurrency_%28computer_scienc...

If you were to go back and reread my comment, note that I used the broader term concurrency at the start – which includes both classic async patterns within a single thread where operations may be interleaved but shared resources wouldn't be updated simultaneously as well as true parallel execution – and then specifically referred to parallel execution at the end as a source of potential pitfalls.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: