lparallel
Parallelism for Common Lisp (by lmj)
emacs-async
Simple library for asynchronous processing in Emacs (by jwiegley)
lparallel | emacs-async | |
---|---|---|
4 | 24 | |
240 | 820 | |
- | - | |
0.0 | 6.2 | |
over 1 year ago | about 1 month ago | |
Common Lisp | Emacs Lisp | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lparallel
Posts with mentions or reviews of lparallel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-10.
-
Request for help merging PR to lparallel
A while ago (pretty long while actually) i've found this inconsistency in setting thread bindings in lparallel. Fixed it with this little PR https://github.com/lmj/lparallel/pull/41
-
Consuming HTTP endpoint using Common Lisp
Parallel First package to use is lparallel to enable parallel processing without much coding on my side. Thing are easy here, you define lparallel:*kernel* with number of workers available for parallel tasks, define channel to receive results and start coding. I have actually used approach that does not even require channel for results.
-
A vision of a multi-threaded Emacs
Users should work with higher level primitives like tasks, parallel loops, asynchronous functions etc. Think TBB, Thrust, Taskflow, lparallel for CL, etc.
-
Are there public experiments with parallel and concurrent lisp 'engines'?
Observe, I am not asking for libraries or frameworks to enable writing threaded or task based and concurrent user applications, I am aware of those myself, for example lparallel for CL. What I am interested about is, if it is worth, or even possible, to parallelize core lisp runtime itself.
emacs-async
Posts with mentions or reviews of emacs-async.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
- emacs-async: Simple library for asynchronous processing in Emacs
-
Is there any way to run an emacs function as a separate process?
That is probably the simplest option possible; but if you need non-blocking evaluation, async package is definitely a better option.
-
Is it possible for Emacs Lisp to get something like multiprocessing from Python?
You already can. Using https://github.com/jwiegley/emacs-async or https://github.com/chuntaro/emacs-promise.
-
How to turn sequential computation into parallel computation in Elisp?
IMO the best option currently is async by Wiegley. It will manage Emacs instances for you and do all the low-level synchronization and messaging for you, so you can work in higher level abstractions as if you are working with threads.
-
Asynchronous alternative to xref?
Have you checked the async package?
-
Lsp-Bridge, Not Even Wrong
That is quite normal thing to do. Have you not seen Emacs Async? Take, a look, it is a useful thing. Or Emacs Request. Since Emacs does not have proper thread scheduler, that is the best next thing you can do.
-
[ANN] Blamer 0.6.0 released. Added pretty avatar preview
There are ways to avoid this, have you tried e.g. https://github.com/jwiegley/emacs-async ?
-
Video Series: Denote as a Zettelkasten
As a note about the third video, and searching for backlinks; the volume, when you get there, might be a slow-down when you work with many small files, like searching for backlinks. Each note means a separate file access, search process, etc. It is much more efficient for computers to read one big file, then many small files, and then just use Emacs to search in that file. If you are a developer of Denote, you might wish to look at asynchronous processes or perhaps use Wigleys Async package to search for backlinks asynchronously.
-
Setting up a fundraiser for multi-threaded Emacs, any thoughts on this?
Async process can do that. Have you checked async library by Wiegley? You can use another emacs process as a sort of clean interpreter thread similar to javascript workers.
-
My IDE is too heavy so I moved to Emacs
That "99% of standard usage" is the kicker, isn't it? Those greybeards who always opposed multithreading since long ago tend to say that the remaining 1% of use cases is best done in an external process, ideally not even written in Emacs Lisp, so that the rest of the open source community can benefit, like the GNU Global you mention. I suppose if you still want that program to be written with Emacs Lisp, you could use async.el (https://github.com/jwiegley/emacs-async/) and there's finally an use-case for the threads: it'll be relatively safe to run those 16 threads only in the external Emacs-process.
What are some alternatives?
When comparing lparallel and emacs-async you can also consider the following projects:
oneTBB - oneAPI Threading Building Blocks (oneTBB)
ranger.el - Bringing the goodness of ranger to dired!
Eclector - A portable Common Lisp reader that is highly customizable, can recover from errors and can return concrete syntax trees
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
SICL - A fresh implementation of Common Lisp
esxml - An elisp library for working with xml, esxml and sxml.
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
emacs-request - Request.el -- Easy HTTP request for Emacs Lisp
org-yaap