Frame – 首个 Linux 汇编 X 服务器
Frame – Linux X server in Assembly

原始链接: https://isene.org/2026/07/Frame.html

由于对 X11 图形系统的复杂和臃肿感到不满,作者着手开发了一个名为“frame”的自定义极简显示服务器。该项目完全由汇编语言编写,代码量仅两万行,取代了包括 Xorg、i3 和终端模拟器在内庞大的传统堆栈,使整个系统规模减少到了约十万行——体积缩小了五十倍。 由此形成的运行在 Linux 内核上的系统堆栈极其高效,不仅在空闲时显著降低了 CPU 占用,还消除了不必要的后台进程。作者称该系统已足够稳定,可满足日常使用需求,并指出在人工智能的辅助下,软件的维护和扩展变得更加容易。通过用一套个性化的工具取代主流图形界面应用,作者实现了对计算环境的完全掌控。该生态系统的每个组件目前均已属于公有领域,比起商业软件“一刀切”的模式,它更优先考虑精确的个人效用。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Frame – 首个 Linux 汇编 X 服务器 (isene.org) 10 点,由 guybedo 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 1 条评论 帮助 mintflow 8 分钟前 [–] 这令人印象深刻,即使借助 Claude,我也认为他本人对操作系统和使其运作的各种主题有足够的深刻理解。 最近我也把大部分应用程序的底层核心功能重写成了 Rust,就像他为手机所做的那样。 也许我也应该多做些事情,鉴于 Codex 重置得太快了。 回复 考虑申请 YC 2026 年秋季批次!申请截止日期为 7 月 27 日。 准则 | 常见问题解答 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Frame

On my quest to own my software, one foundational piece kept itching… the X server. The underlying graphics engine, the thing that puts pixels on the screen. X11 is 4 million lines of code, a beast very few can claim they understand. So I did the reasonable thing. I wrote my own, in Assembly.

It is called frame. No dependencies, no libraries, no garbage collector. No hot paths, no unnecessary wakeups. When it is idle, it sits still. It shuts up unless spoken to. My kind of software. It clocks in at some 20 thousand lines, and it already runs my whole desktop plus Firefox and GIMP whenever I need that. It is still young, and there is a long list of X protocol left to chew through. But it boots, it draws, and I am typing this on it.

So the stack now looks like this: The Linux kernel at the bottom. On top of that, frame. Then the window manager tile with the info bar strip. Inside tile runs the terminal glass, and in glass lives the shell bare. Bolt has been promoted from screen locker to greeter, showing gdm the door. All of it Assembly. All of CHasm together is about 100 thousand lines. The stack it replaced (gdm, X11, i3, conky, wezterm, zsh) is somewhere north of fifty times that. I did it for the battery life. I am not sure this laptop has a fan anymore. Except me.

Today I put numbers on it. Idle on battery, frame and Xorg pull the same watts, because the panel and the wifi own that number anyway. But Xorg burns almost three times the CPU that frame needs to do nothing. And tile and glass used zero milliseconds over three minutes of measuring. The desktop sits completely still until I touch it.

Beyond the desktop I have my Fe₂O₃ suite of Rust tools, which by now has replaced everything else I used to run. Except Firefox. That is the last GUI standing that I regularly use. The rest is terminal interfaces with the same keybindings everywhere, and a fraction of the size and electrical appetite of what they replaced.

Frame screenshot

But is it stable? Stable enough that I daily-drive it, write this post on it, and only occasionally yell. When something breaks or I want a feature, I turn to my buddy Claude and describe the itch. He never gets tired, is not opinionated, and turns out to be a really good teacher. I now know more about hardware layers, cursor painting, GPU handoffs and event watchers than I ever planned to.

The phone got the same treatment, with my own launcher, a daily personalized news digest and a pile of apps tailored for an audience of exactly one.

The upside is simple. I have what I need and want. I control and own the software, and all of it is given to the Public Domain. Software designed for a large audience fits everyone a little. This fits one person exactly.


Link to this post: https://isene.org/2026/07/Frame.html

联系我们 contact @ memedata.com