Emacs vs Vim: Which Has More Users, and How to Measure the Memory Gap on Your Own Machine

A vim.org news item says more people use Vi/Vim than Emacs; it appears on the vim.org news page, in an item dated 2003-10-09 about a NewsForge list of favourite desktop apps: “Not surprising is that more people use Vi/Vim than Emacs/XEmacs.” Memory is a different question, because Emacs’s footprint depends on how you run it. Below is a script that measures both editors on your machine and a table that turns the result into a share of your server’s RAM.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Usage figures show the order, not the size

The item on Vim’s own site was reported from NewsForge’s list of favorite desktop apps, so it supports the ordering and nothing more. Before quoting any percentage from a Stack Overflow survey, open its editor question and read the wording and population. Stack Overflow’s developer survey page links to the 2026 Developer Survey results, announced on October 6, 2026 per Stack Overflow’s press release, so the 2025 edition is no longer the latest. The editor question in the 2026 survey data ends “Please check all that apply”, so the Vim and Neovim percentages overlap and adding them overstates the vi family. Our Neovim vs Vim comparison covers that split.

Measure the footprint with your own configuration

Published memory numbers mix bare configs, plugin-heavy setups, terminal and GUI sessions, so quote none of them without the conditions. This script reads resident memory for Vim, terminal Emacs and an Emacs daemon, all without user config, then times startup with hyperfine. It kills its sessions on exit. Run it again after removing -u NONE and -Q to include your real init files, and take the median of several runs.

#!/bin/sh
set -eu
cleanup() {
  tmux kill-session -t ed-vim 2>/dev/null || true
  tmux kill-session -t ed-emacs 2>/dev/null || true
  emacsclient -s ed-daemon -e '(kill-emacs)' >/dev/null 2>&1 || true
}
trap cleanup EXIT INT TERM
mb() { ps -o rss= -p "$1" | awk '{printf "%.1f MB\n", $1/1024}'; }

vim --version | head -n 1
emacs --version | head -n 1
tmux new-session -d -s ed-vim "exec vim -u NONE -N"
tmux new-session -d -s ed-emacs "exec emacs -nw -Q"
emacs -Q --daemon=ed-daemon
sleep 3
echo "vim: $(mb "$(tmux list-panes -t ed-vim -F '#{pane_pid}')")"
echo "emacs: $(mb "$(tmux list-panes -t ed-emacs -F '#{pane_pid}')")"
echo "emacs daemon: $(mb "$(pgrep -of 'daemon=ed-daemon')")"
hyperfine --warmup 3 'vim -u NONE -es +q' "emacs -Q --batch --eval '(kill-emacs)'"

The script measures the editor process only; the terminal you run it in has its own footprint. The first two lines of output print the Vim and Emacs versions, so note them next to your numbers: the versions table further down shows what changed in each release.

What a footprint takes from a 512 MB, 1 GB or 2 GB machine

Divide the printed figure by your RAM. The rows below show how many megabytes equal 1% and 10% of each RAM size, with 1 GB taken as 1024 MB and 2 GB as 2048 MB. Every cell is RAM divided by 100 or by 10, rounded to one decimal, so it is a calculation from the stated RAM sizes and not a measurement of either editor.

Share of total RAM512 MB1 GB2 GB
1% of RAM5.1 MB10.2 MB20.5 MB
10% of RAM51.2 MB102.4 MB204.8 MB

Separate editors per SSH user multiply the footprint by the number of users. One Emacs daemon serving emacsclient frames is a single process; the GNU Emacs manual’s Emacs Server section says that a daemon “calls server-start after initialization and does not open an initial frame.” On a 2 GB machine, an editor process would need more than 204.8 MB to take over 10% of RAM, so compare your measured figure with that row before letting memory decide the choice.

Versions, built-in features and the Copilot route, read on 13 November 2026

Both editors shipped releases in 2026, so the version you measure matters. Each row below comes from the page linked in it.

ItemFactSource
Emacs 30.1 and 30.2Emacs 30.1 was released on 2025-02-23 and 30.2, a maintenance release, on 2025-08-14. The GNU Emacs page lists “Native compilation is enabled by default”, “Native JSON support is always available” and “Support for the EditorConfig standard” among the 30.1 features (checked 13 November 2026).GNU Emacs page
Emacs 31.1Released on 2026-08-24 (ftp.gnu.org tarball listing). The GNU Emacs page lists a new user-lisp/ subdirectory of your Emacs configuration directory, child frames on text frames and various improvements to the *Completions* buffer; the FAQ adds that the buffer can be configured to display immediately and update dynamically as you type. UbuntuHandbook reports that 31.1 removed the old unexec dumper and now uses the portable dumper, which dates from Emacs 27 (New in Emacs 27; checked 13 November 2026).GNU Emacs page, GNU Emacs FAQ, UbuntuHandbook report
Eglot in EmacsThe Emacs 29.1 NEWS file says Emacs “now comes with the Eglot package”, an Emacs client for the Language Server Protocol.Emacs 29.1 NEWS
Vim 9.2Released on 2026-02-14. The release page lists native support for enums, generic functions and the tuple data type in the Vim9 scripting language.vim.org 9.2 release page
Vim GTK 4 GUIAnnounced on 2026-05-19: patch 9.2.0501 adds a GUI backend built on the GTK 4 toolkit, available alongside the existing GTK 2 and GTK 3 backends.vim.org news page
Copilot in VimGitHub Docs: Vim 9.0.0185 or Neovim 0.6 or above and Node.js 18 or above are required. Copilot Pro is $10 USD per calendar month and Copilot Business is $19 USD per granted seat per month (checked 13 November 2026).GitHub Docs install guide, GitHub Docs plans, GitHub Docs Copilot licenses

Pick by the constraint you have

ConstraintWhat decides itPick
512 MB box or many SSH sessionsYour measured footprint times sessionsVim, unless the daemon measurement leaves room for Emacs
1 GB or 2 GB machineWorkflow, if your measured footprint is a small share of RAMThe editor you already know
Coming from VS CodeWhether you want a GUI or a terminalSee our Zed vs VS Code comparison first
Citing usage to a teamSurvey wording and populationSay that a 2003 vim.org item reported more Vi/Vim than Emacs users, and give no percentage
Sofia Lindström

Sofia Lindström

Security and privacy

Sofia Lindström writes about security and privacy for Tech Insider: software vulnerabilities and the updates that fix them, data breaches, privacy rules and how products handle personal data. She works from vendor advisories, official vulnerability catalogues and the documents behind each story.

View all articles