Concurrency designs from other guys

folks. i found concurrency and related topics fascinating and mind blowing. it is very exciting to see how different design constraints and author personal preferences of various languages lead to quite different solutions to the same or similar problems.

this topic is supposed to be a catch-all place with relevant links on "how other guys do concurrency" and related stuff. please share the relevant links here when you come across them.

9 Likes

Python:

What Color is Your Function?
https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/

1 Like

Fibers under the magnifying glass:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1364r0.pdf

Response to “Fibers under the magnifying glass”:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0866r0.pdf

Response to response to "Fibers under the magnifying glass":
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1520r0.pdf

The Top 100 Coroutines Open Source Projects

https://awesomeopensource.com/projects/coroutines

Algebraic Effects



Actual concurrency bugs in Go:

1 Like

Software Transactional Memory in Haskell

The main benefits of STM are composability and modularity .

https://wiki.haskell.org/Software_transactional_memory

Scala library ZIO, which includes an implementation of fibers, STM and more.

1 Like

Just for the record, this is rather technical and low-level, but it may be an interesting read as I think this is what Swift uses for its coroutine:

http://llvm.org/docs/Coroutines.html

1 Like

The Python library Trio, which implements “structured concurrency”: https://trio.readthedocs.io/en/stable/.

A couple blog posts with background on structured concurrency: https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ and https://vorpus.org/blog/timeouts-and-cancellation-for-humans/.

A forum for discussing structured concurrency: https://trio.discourse.group/c/structured-concurrency

1 Like

Closure: Concurrency in Clojure

Declarative concurrency: https://www.cse.iitk.ac.in/users/satyadev/fall12/declarative-concurrency.html

SwiftCoroutine available now!

5 Likes

Heave ho

Terms of Service

Privacy Policy

Cookie Policy