oneTBB
oneAPI Threading Building Blocks (oneTBB) (by oneapi-src)
emacs-async
Simple library for asynchronous processing in Emacs (by jwiegley)
Our great sponsors
oneTBB | emacs-async | |
---|---|---|
14 | 24 | |
5,311 | 819 | |
2.4% | - | |
8.9 | 6.2 | |
1 day ago | about 1 month ago | |
C++ | Emacs Lisp | |
Apache License 2.0 | 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.
oneTBB
Posts with mentions or reviews of oneTBB.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-31.
-
Better use of threads
Use a library like https://github.com/oneapi-src/oneTBB
-
Help installing EngineFixesVR
tbb
-
Use CMake to build a submodule (dependency) and install to specific location?
I have a project that depends on Intel's oneTBB. My project is structured as follows:
-
Task scheduler with CPU affinity
Intel TBB is still being maintained, it's just renamed to "OneAPI". The TBB part can be found here: https://github.com/oneapi-src/oneTBB
-
Modern Software Development Tools and oneAPI Part 1
$ cd /tmp $ wget https://github.com/oneapi-src/oneTBB/releases/download/v2021.7.0/oneapi-tbb-2021.7.0-lin.tgz
- CK2 doesn't launch on macOS Ventura
-
Parallel Computations in C++: Where Do I Begin?
For a more fully featured version of that idea with parallel algorithms and data structures, there are libraries like Thread Building Blocks.
-
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.
-
oneTBB VS MTL - a user suggested alternative
2 projects | 28 Feb 2022
-
Can I use more threads in my program than the hardware supports?
Consider using oneAPI Threading Building Blocks instead of naked threads.
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 oneTBB and emacs-async you can also consider the following projects:
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]
ranger.el - Bringing the goodness of ranger to dired!
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
esxml - An elisp library for working with xml, esxml and sxml.
MTL - Multi Thread Library
Lazy - Light-weight header-only library for parallel function calls and continuations in C++ based on Eric Niebler's talk at CppCon 2019.
org-yaap
freedesktop-sdk
elfeed-tube - Youtube integration for Elfeed, the feed reader for Emacs