Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made "concurernvy vs. parallelism" section clearer #174

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,13 @@ AVA, not Ava or ava. Pronounced [`/ˈeɪvə/` ay-və](media/pronunciation.m4a?ra

### Concurrency vs. parallelism

Concurrency is not parallelism. It enables parallelism. It's about dealing with, while parallelism is about doing, lots of things at once.
Concurrency is not parallelism. It enables parallelism.

**Concurrency** is when two or more tasks can start, run, and complete in overlapping time periods. It doesn't necessarily mean they'll ever both be running at the same instant. (e.g. multitasking on a single-core machine.)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two or more tasks can start, run, and complete in overlapping time periods, that is also true for Parallelism, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schnittstabil As is stated: "concurrency enables parallism". Of course there is an overlap.

What do you suggest?


**Parallelism** is when tasks literally run at the same time. (e.g. on a multicore processor.)

[(Source)](http://stackoverflow.com/a/1050257)


## Support
Expand Down