HeadlinesBriefing favicon HeadlinesBriefing.com

Frame: A New Linux Assembly X Server

Hacker News •
×

A developer has created 'frame', a new X server written entirely in Assembly, aiming for ultimate control and efficiency. Unlike the complex X11 server with its millions of lines of code, 'frame' is a lean 20,000-line project with no external dependencies.

'frame' reportedly runs the user's entire desktop, including applications like Firefox and GIMP, with significantly reduced resource consumption. The developer claims a substantial improvement in battery life, noting that the laptop now operates fanlessly. Benchmarks indicate that while idle power draw is comparable to Xorg, 'frame' uses nearly three times less CPU when idle.

The new stack includes the Linux kernel, 'frame', a window manager named 'tile', a terminal emulator 'glass', and the shell 'bare', all written in Assembly. This entire CHasm stack totals around 100,000 lines, a fraction of the size of the system it replaced.

The developer is daily-driving 'frame', using it for writing and development, and has also applied similar principles to their phone for a personalized experience. All code is released into the Public Domain.