emacs VS emacs-overlay

Compare emacs vs emacs-overlay and see what are their differences.

emacs-overlay

Bleeding edge emacs overlay [maintainer=@adisbladis] (by nix-community)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
emacs emacs-overlay
11 34
67 463
- 1.9%
0.0 10.0
3 months ago 4 days ago
Emacs Lisp Nix
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.

emacs

Posts with mentions or reviews of emacs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-17.
  • The Good, The Bad, and The Ugly
    1 project | /r/emacs | 30 Jun 2023
    The ugly: Handling JSONRPC synchronously. Now that eldoc is in core emacs, LSP is officially supported by core emacs but from this branch https://github.com/emacs-lsp/emacs/tree/json-rpc-29 it looks like core emacs still handles JSONRPC synchronously and blocking.
  • emacs: Mirror of GNU Emacs
    1 project | /r/planetemacs | 21 May 2023
  • is it just me, or LSP mode is very slow in emacs?
    5 projects | /r/emacs | 17 May 2023
    Without perf profile, it is hard to say. For starters, you may remove lsp-ui. After this: https://emacs-lsp.github.io/lsp-mode/page/performance/ it should be good enough for most use usecases. If you want blazingly fast lsp-mode, you need the LSP Emacs fork https://github.com/emacs-lsp/emacs which is another beast(see https://www.reddit.com/r/emacs/comments/ymrkyn/async_nonblocking_jsonrpc_or_lsp_performance/ as well).
  • How do I improve Emacs as a Typescript IDE
    2 projects | /r/emacs | 13 May 2023
    https://emacs-lsp.github.io/lsp-mode/page/performance/ . If this doesn't do, then https://github.com/emacs-lsp/emacs
  • Emacs 29 is at least several weeks away
    2 projects | /r/emacs | 20 Apr 2023
    The other major performance boost is if you're using lsp-mode and this fork. And an lsp-server that sends waaay too much info, I guess.
  • Is lsp volar extremely slow or is it just me?
    4 projects | /r/emacs | 14 Dec 2022
    lsp-mode is async, but sending the messages. If the server is busy and not reading the input messages then lsp-mode will block. The only way ATM to avoid the issue is to use https://github.com/emacs-lsp/emacs .
  • My IDE is too heavy so I moved to Emacs
    15 projects | news.ycombinator.com | 13 Dec 2022
    I disagree. When I am running a compilation (with output being dumped into a visible buffer) + query magit for large commit. Over tramp. Things noticeably freeze. Technically it all is async. Practically, it is implemented as polling things on main thread with some witing happening in non-async fashion.

    > For example, querying your compiler for a list of methods that apply to the current object, or a list of functions that start with “Foo” are mostly moving to external processes using LSP as the communication protocol.

    That's why we have lsp-bridge and lsp-mode emacs fork :) Both of which build some infrastructure to avoid doing communication work with lsp-mode work in main emacs thread. So, heavy emacs users are building some async machinery which wraps another already async and relatively lightweight protocol, because core emacs facilities can't keep up with it. Architecturally it is kind of insane.

    I think, lsp-mode fork is doing the right thing (from practical POV; it goes against "emacs is just an elisp interpreter" ideology though) and hope it gets into core at some point. A better solution would have being having first class async and background threads support at the elisp level. Which would never happen due to elisp messiness.

    https://github.com/emacs-lsp/emacs

  • Emacs 29 is nigh What can we expect?
    31 projects | news.ycombinator.com | 29 Nov 2022
    Locks: https://www.gnu.org/software/emacs/manual/html_node/elisp/Mu...

    Semaphores are not there, my mistake; I was thinking about: https://www.gnu.org/software/emacs/manual/html_node/elisp/Co...

    That's basically what every other threading library provides in most languages... and it's also what was shown time and again to be very hard to work with directly. Higher-order abstractions are necessary to make parallelism safe and concurrency convenient.

    > and atomicity is guaranteed apart from when you use these calls. So you'd never be in a problem state of `setq` failing halfway, for example.

    That's true - it looks like Emacs uses a global lock to ensure the atomicity, similarly to what Python does. Also like in Python, you can release that lock from native code (module or core). You cannot touch any interpreter state from other threads, so you need a bit of plumbing to get the results back, but it's possible. I found this: https://github.com/emacs-lsp/emacs/blob/json-rpc/src/json.c very interesting: it's a fork that moves JSONRPC from Lisp to C and out of the main thread. See for example line 1109 and related.

    > but threads are pretty useful already if hard to code with.

    That's the point: the capabilities are there (mostly), but abstractions are not. Coding with threads, even in the presence of the global lock, is hard, and ensuring correctness is nontrivial. At the very least we should get channels for communication (share by communicating, don't communicate by sharing) between threads and thread pools for executing tasks (like futures in Java or Python, or Task in Elixir). Threads and locks are way too low-level for normal coding. I suspect that's the reason why they're not used more widely, even though they're there for the third(?) release now.

    Aside: Racket is actually a nice example of concurrency and parallelism being treated as completely separate concerns. IIRC threads in Racket are call/cc-based green threads, while places are separate instances of the VM that execute in OS-level thread or separate process. Threads provide concurrency and places provide parallelism. It's actually a good thing, I think. Mixing the two is often a major source of errors. Racket also has futures, which are parallel-if-possible primitives that can benefit from parallelism if they don't touch external state - a sort of a middle ground.

    In any case: yes, Elisp threads are a good addition to the language, but they alone are not enough to bring concurrency to the masses, so to speak. As a concurrency primitives, and compared to callbacks, they have few advantages and some serious downsides. Emacs still needs a lot of work on the concurrency front. And don't even mention parallelism, that's another can of worms that we don't really need to open :)

  • Async non-blocking JSONRPC (or lsp performance faster/comparable with other clients)
    5 projects | /r/emacs | 5 Nov 2022
    In order for that to work, you have to use the json-rpc branch from here: https://github.com/emacs-lsp/emacs .

emacs-overlay

Posts with mentions or reviews of emacs-overlay. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-09.
  • Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
    6 projects | news.ycombinator.com | 9 Jan 2024
    The project uses this overlay: https://github.com/nix-community/emacs-overlay

    What that means is if something is broken in Emacs, the community will fix it, and all I need to do is run `nix flake update` to grab the latest commit and then `nix run .#build-switch` to alter my system. Easy.

    Thanks for the heads-up on the 404s! I've fixed those links.

    In re: to org-agenda, I don't use that as much anymore. But I heavily, heavily using org-roam w/ org-roam-dailies everyday to build my own networked graph of notes. For tasks, nowadays I just use simple docs for projects and Asana to keep a catalog of everything.

  • NixOS&(Home-Manager) Flake/Overlays Help
    2 projects | /r/NixOS | 31 Jul 2023
    Im a newish NixOS user, Ive used it like 20 times before but always quit because I couldnt debug errors, trying not to give up for the 20th time this time lmao; so Ive been trying to learn how to use overlays & flakes for a couple of days now. The ones I want to use/enable are: - Emacs-Overlay - Spicetify-Nix
  • My First Impressions of Nix
    33 projects | news.ycombinator.com | 19 Jun 2023
  • Which package manager should I use?
    5 projects | /r/emacs | 12 Apr 2023
    Nix offers the same advantage through the use of emacs-overlay. Besides, Nixpkgs contains more Linux packages than any other distros. Depending on the user's needs, Nix is another option.
  • It looks like the kellyk Emacs PPA is no longer maintained. Are there any alternatives?
    2 projects | /r/emacs | 26 Feb 2023
    You can use this overlay to get the latest https://github.com/nix-community/emacs-overlay
  • Will any emacs package manager let me audit packages before installing them?
    4 projects | /r/emacs | 15 Feb 2023
    Depending on your goals, emacs-overlay is also worth a look.
  • dired navigation without infinite buffers
    5 projects | /r/emacs | 3 Feb 2023
    { pkgs ? import {} }: ((import (builtins.fetchTarball { url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; })) pkgs pkgs).emacsGit
  • Installing Emacs 29 on Pop! OS
    2 projects | /r/emacs | 1 Jan 2023
    One option is to install Nix and use emacs-overlay.
  • How to use Emacs 29 Tree-sitter?
    12 projects | /r/emacs | 3 Dec 2022
    You can install Nix on your mac and use https://github.com/nix-community/emacs-overlay/, which supports all the existing tree-sitter-based major modes OOB.
  • Emacs 29 is nigh What can we expect?
    31 projects | news.ycombinator.com | 29 Nov 2022
    Its great to see both eglot and tree-sitter being merged. However, I am unhappy about the state of 'emacs configurations/distributions' right now. I have been using Doom Emacs, but the development is pretty much stalled there [0], and I don't think there is any distribution that is keeping up with these cutting-edge features (compared to the NeoVim ecosystem, let's say). Somehow it feels like I was seeing a lot more activity about Emacs configurations two-three years ago.

    > Compile EmacsLisp files ahead of time

    Ooh, this is interesting. Hoping to see a derivation in https://github.com/nix-community/emacs-overlay soon.

    [0] I am not complaining though as Doom was the main author's personal config from the get-go. I am just pointing out a void.

What are some alternatives?

When comparing emacs and emacs-overlay you can also consider the following projects:

lsp-bridge - A blazingly fast LSP client for Emacs

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

homebrew-emacs-plus - Emacs Plus formulae for the Homebrew package manager

flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]

toggleterm.nvim - A neovim lua plugin to help easily manage multiple terminal windows

use-package - A use-package declaration for simplifying your .emacs

codelite - A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++

lsp-mode - Emacs client/library for the Language Server Protocol

telega.el - GNU Emacs telegram client (unofficial)

chemacs2 - Emacs version switcher, improved

nix - Nix, the purely functional package manager