Skip to content

1 What's the Point?

Eric Snow edited this page Sep 5, 2018 · 15 revisions
  • problems to solve
    • deficiencies in existing concurrency models
    • CPython multi-core parallelism is stifled by the GIL
  • benefits
    • true multi-core parallelism
    • human-friendly concurrency model
      • simplicity of threading, but with opt-in (safe) sharing
      • focus on isolated threads of execution
  • use cases
    • web requests (see mod_wsgi & JS web workers)
    • CPU-intensive code
    • general concurrency
  • justification
    • ...
  • motivation (for the feature; for the project?)
    • ...
  • possible downsides
    • ...

Deficiencies in Existing Concurrency Models

Threads

  • easy to cause race conditions
  • ...

Multiprocessing (fork, subprocess, etc.)

...

Async

...

Stand-alone Value of Some Changes

  • ...
  • ...
  • ...

Clone this wiki locally