[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Concurrency Library
From: |
Zach Shaftel |
Subject: |
Concurrency Library |
Date: |
Mon, 30 Mar 2020 23:42:08 -0400 |
User-agent: |
mu4e 1.2.0; emacs 28.0.50 |
I'm wondering if there's interest in a library which wraps threads,
mutices and condition-variables into higher level constructs like
futures, readers-writer locks, agents, concurrent queues etc. I'm
considering this as a project for Summer of Code, but not sure if
it's something others would want included with Emacs.
I can say from personal experience that I don't bother making
programs concurrent in languages with only primitives like mutices
and semaphores, but in Clojure I'll happily spin up agents to
coordinate work. My hope is that the concision and built-in safety
provided by these abstractions could encourage more authors to make
their ELisp programs concurrent.
Thoughts?
-Zach
- Concurrency Library,
Zach Shaftel <=