8000 Updates for PEP 554. by ericsnowcurrently · Pull Request #419 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

Updates for PEP 554. #419

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

Merged
merged 18 commits into from
Sep 12, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fill in the concurrency section.
  • Loading branch information
ericsnowcurrently committed Sep 12, 2017
commit a8a1b8b1c708ef241323bca5356fe3090b078a86
18 changes: 13 additions & 5 deletions pep-0554.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,9 @@ About FIFOs
-----------

Subinterpreters are inherently isolated (with caveats explained below),
in contrast to threads. This enables a different concurrency model than
currently exists in Python.
`Communicating Sequential Processes`_ (CSP), upon which Go's concurrency
is based, is one example of this model.
in contrast to threads. This enables `a different concurrency model
<Concurrency_>`_ than currently exists in Python.
`Communicating Sequential Processes`_ (CSP) is the prime example.

A key component of this approach to concurrency is message passing. So
providing a message/object passing mechanism alongside ``Interpreter``
Expand Down Expand Up @@ -336,7 +335,16 @@ area:
Concurrency
-----------

TBD
Concurrency is a challenging area of software development. Decades of
research and practice have led to a wide variety of concurrency models,
each with different goals. Most center on correctness and usability.

One class of concurrency models focuses on isolated threads of
execution that interoperate through some message passing scheme. A
notable example is `Communicating Sequential Processes`_ (CSP), upon
which Go's concurrency is based. The isolation inherent to
subinterpreters makes them well-suited to this approach.


Existing Usage
--------------
Expand Down
0