rhun

rhun is a small, fast code editor written in assembly. It runs on Linux, macOS and Windows, and it is free and open source under the MIT license.

When coding agents do more of the heavy lifting, you may not need everything that comes with vim, VS Code or Zed. You need to read and edit code, run commands, find files and check what changed. rhun does those things and little else.

Get rhun at rhun.app

rhun in its dark theme: the file explorer, an assembly source file open in a tab, and a coding agent's session in the side panel

What it does

Written in assembly

The whole editor is over 70,000 lines of x86-64 assembly. It draws every pixel itself, from its own TrueType rasterizer to the widgets, and hands the finished frame to the display server. On Linux it speaks the Wayland and X11 wire protocols directly, with no libc, toolkit or runtime underneath. The release is one static binary under 750 KB, with the fonts, themes and grammars inside.

There is no separate Mac port. At build time a translator turns the same x86-64 sources into native Apple silicon code, instruction by instruction, and a thin native layer runs it in an AppKit window. Random editing sessions are played through both builds, and they must end in identical documents and screenshots. Windows gets its own adapter, also in assembly, with a Win32 window and a ConPTY terminal.

Install

On Linux (x86-64) or macOS (Apple silicon):

curl -fsSL \
https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh

rhun then updates itself from the status bar. On Windows 10 or 11, download the Windows archive from the latest release and open rhun.exe.

The latest release on GitHub

The guide: usage, shortcuts and configuration

The source code

Screens from the editor

The built-in terminal open under an assembly file, showing a git log and a diff summary in color

A shell under the code.

The Git history tab: commits of all branches drawn as a graph, with the selected commit's changed files and line counts on the right

Every branch, drawn as a graph.

The same editor and agent session in rhun's light theme

The light theme, one of 39.

Home