CPUI is a new native GUI framework for Rust that renders desktop apps entirely on the CPU — no GPU, no browser engine, no webview. Its README reports an idle 800×600 window using 27 MB of memory, a 2 MB hello-world binary, and a window opening in under 100 ms on macOS. Those numbers are real quotes from the README — but they come with catches the viral posts left out, and the project is eight days old. This article checks every claim against the source, explains how CPU rendering works, and helps you decide whether to try it now or wait.
What CPUI is
CPUI is a native UI framework for building desktop applications in Rust. It is developed by DEEIX AI, published under the Apache License 2.0, and hosted at github.com/DEEIX-AI/cpui, with documentation at cpui.io. Created on 28 November 2026, it has around 1,000 stars and 54 forks, with version 0.1.3 the latest release; 0.1 is the first release series and the default branch is dev.
The core idea: draw the entire interface with the CPU. Most desktop frameworks hand rendering to the GPU, or ship a browser engine to do it for them. CPUI does neither. It rasterizes widgets in software and pushes pixels to the window through softbuffer, a Rust crate that provides a software framebuffer on each platform. Windows, input, clipboard, file dialogs and accessibility go through the OS's own interfaces via winit and AccessKit, so apps still feel native.
That choice is the whole story. It makes the tiny footprint possible — and sets the limits, since a framework that never touches the GPU cannot lean on it for heavy animation or large canvases.
CPUI reached most developers through a viral post quoting the README's headline numbers. The numbers check out — they are in the README, word for word. What the viral version dropped was the context: which platform the speed figure applies to, what "27 MB" actually measures, and how young the project is. CPUI is part of a small wave of native Rust desktop work getting attention lately. We covered one of its neighbours — RustCord, a native Discord client written in Rust — and the same audience will recognise the appeal. The Rust ecosystem is also producing ambitious rewrites beyond the desktop, like Forma, the Rust rewrite of Blender with AI agents.
The viral numbers, checked
Every figure below comes from the CPUI README or the GitHub repository page, checked on 5 December 2026. Where the README qualifies a number, the qualification is reproduced, not smoothed over.
| Claim as it went viral | What the README actually says | The catch |
|---|---|---|
| An 800×600 window uses only 27 MB of memory | "An idle 800×600 window uses 27 MB of memory" | Idle — an empty window. A real app will use more. |
| The window opens in under 100 ms | "The hello example builds to a 2 MB executable and opens its window within 100 ms on macOS" | On macOS only. No figure for Windows or Linux. |
| The hello example is a 2 MB binary | "The hello example builds to a 2 MB executable" | True for the hello example. A real app will be larger. |
| A full frame takes 0.1 ms; scrolling 100,000 rows takes 0.2 ms per frame | "A full 800×600 frame takes about 0.1 ms; scrolling a 100,000-row list takes about 0.2 ms per frame" | Self-reported; "about" does real work. No independent benchmark, no named hardware. |
| 40+ widgets included | "40+ UI widgets, including sortable tables with multiple selection, trees, virtual lists, searchable selects, date and color pickers, dialogs, sheets, menus and toasts" | Conservative: the widget table names around 60 widgets in seven groups. |
| No GPU needed | "It renders entirely on the CPU, requires no GPU" | True — and a trade-off, not a free win: heavy animation costs CPU time. |
| A mature framework with 1,000+ stars | Repository created 28 November 2026; version 0.1 is "the first release series"; 43 open issues | Eight days old. A thousand stars says the idea resonates, not that the software is settled. |
The honest summary: the viral post's numbers all trace to the README, and none is fabricated. But the viral version stripped out every qualifier — idle, macOS, about, first release series — and those qualifiers are where the truth lives. All performance figures are developer-reported: the project publishes its own performance page at cpui.io/guides/performance, and until an independent party measures the same examples on stated hardware, treat 0.1 ms frames and 27 MB windows as the project's claims about its own software — credible, consistent with the architecture, and unverified by anyone else.
How CPU rendering works
In a GPU-rendered framework, widgets become draw commands rasterized on the graphics card, which draws thousands of shapes in parallel. The price is the machinery around it: a graphics API, drivers, shaders, and a runtime that must exist before the first pixel appears.
CPUI skips that machinery. Its renderer, split out from an earlier project called Winc, draws widgets directly into a memory buffer using the CPU, then hands the buffer to the operating system to display. The crate that makes the last step portable is softbuffer: a plain pixel buffer on macOS, Windows and Linux, composited into the window by the OS. Fonts are shaped with swash; with no GPU context to initialise, a window can appear fast.
The second half of the speed story is that CPUI usually does not draw at all. The README puts it in one line: "An idle window draws nothing, and a change redraws only the affected region." This is dirty-region rendering. When nothing changes, the CPU does no rasterization work and the app sits idle. When a button changes state or a list scrolls, only the rectangle that changed is redrawn. A full 800×600 frame is cheap, about 0.1 ms by the project's measurement, precisely because a full redraw is the exception, not the rule.
That is also why the 100,000-row list figure is believable: the list is virtualized, so only visible rows are drawn.
The trade-off is the mirror image of the benefit. A CPU draws one pixel at a time, in sequence. A full-screen animation, a large canvas, or a blur over a big area will consume CPU cycles that a GPU would have absorbed without noticing. CPUI's own examples include a canvas animation, so the framework does not forbid this kind of work — but the cost lands on the CPU, and on a laptop that shows up as fan noise and battery drain. For a settings panel, a developer tool, or a data table, that cost is negligible. For a media-heavy app or a game, it is the wrong architecture.
Immediate-mode API
In a retained-mode framework, you build a tree of widget objects, keep them around, and update them when state changes — two copies of the truth to keep in sync. In immediate mode there is no persistent tree: the interface is a function of the application's state. Every frame, your code runs top to bottom, draws each widget where it is called, and reads the result on the spot. A button needs no event listener registered somewhere else. The README's example says it in one line: if ui.button("Save").clicked() is a complete click handler.
State lives in your own structs, in plain Rust. Widgets return results where they are called, so control flow reads like ordinary code instead of scattered callbacks. Layout and appearance use chained methods, so a column with padding and spacing is .p(24).gap(12). Themes are named colors and sizes with light and dark variants and five gray scales.
The quick start below is the README's own counter example (Rust 1.89+, CPUI 0.1.3). Add the dependency to Cargo.toml:
[dependencies]
cpui = "0.1.3"
A Counter struct holds the state, the ui method draws the interface from that state each frame, and cpui::run starts the event loop:
use cpui::{App, Options, Ui};
#[derive(Default)]
struct Counter {
count: u32,
name: String,
}
impl App for Counter {
fn ui(&mut self, ui: &mut Ui<'_>) {
ui.column().p(24).gap(12).children(|ui| {
ui.heading(format_args!("Clicked {} times", self.count));
if ui.button("Click").primary().clicked() {
self.count += 1;
}
ui.text_input(&mut self.name).placeholder("Name");
ui.progress((f64::from(self.count) / 10.0).min(1.0)).w(200);
});
}
}
fn main() -> Result<(), cpui::Error> {
cpui::run(Options::default(), Counter::default())
}
No view file, no markup, no binding layer: heading, button, text input and progress bar, all in one function, in display order. That brevity is the attraction, and the risk: a large interface can make one function grow long. CPUI's docs cover layout, theming, internationalization, custom widgets, and packaging at cpui.io.
The widget set
CPUI advertises "40+ UI widgets", and that figure is conservative. The README's widget table names around 60 widgets in seven groups:
CPUI widgets by group — around 60 in total
Counts from the widget table in the CPUI README, checked 5 December 2026.
| Group | Count | Widgets |
|---|---|---|
| Text and display | 11 | Text, Icon, Image, Avatar, Badge, Alert, Kbd, Skeleton, Spinner, Progress, Empty |
| Inputs and controls | 20 | Button, Toggle, Toggle Group, Checkbox, Radio, Switch, Slider, Range Slider, Color Picker, Number Input, Text Input, Textarea, Select, Combobox, Date Picker, Calendar, Tabs, Sidebar Item, Collapsible, Accordion |
| Forms | 2 | Field, Form |
| Data | 3 | List, Table, Tree |
| Popups and menus | 10 | Popover, Dialog, Sheet, Drawer, Alert Dialog, Dropdown Menu, Context Menu, Menu Bar, Toast, Tooltip |
| Layout | 13 | Row, Column, Flow, Grid, Stack, Available Width, Container, Card, Resizable, Scroll, Overlay, Separator, Spacer |
| Custom drawing | 2 | Canvas, Custom |
The biggest group is inputs and controls — twenty widgets for getting information into an app. The data group is small but carefully chosen: a virtual list, a sortable table with multiple selection, and a tree cover the three structures data-heavy tools actually need. The README calls out the sortable table, the searchable select, and the date and color pickers by name.
Every widget is shown live at cpui.io/components, and the catalog example shows the same set in a real window. The built-in icons are browsable at cpui.io/icons and published separately as the dependency-free cpui-icons crate, each icon as geometry or SVG. The acknowledgements credit GPUI, shadcn/ui, SwiftUI and Tailwind CSS; the shadcn influence shows in the widget list, where dialogs, sheets, drawers, toasts and dropdown menus are the shadcn vocabulary rebuilt as native Rust widgets. One caution: breadth is not depth. Sixty named widgets in a first release series means many are young, and the tracker's 43 open issues are the place to check whether the widget you need behaves as expected.
Platforms
| Platform | Minimum version | Status |
|---|---|---|
| macOS | 13 | Verified |
| Windows | 10 | Verified |
| Linux | glibc 2.28 | Verified |
| iOS | 16 | Experimental — verified in the simulator |
| Android | 8 (API 26) | Experimental — verified in the emulator |
The three desktop platforms are the real story: macOS 13, Windows 10 and Linux with glibc 2.28 are all verified. The glibc 2.28 minimum covers distributions from roughly 2018 onward, so a CPU-rendered framework with no GPU dependency fits minimal Linux environments and older hardware well. Mobile is explicitly experimental: iOS 16 verified only in the simulator, Android 8 only in the emulator. The README points to the roadmap at cpui.io/roadmap for what comes next, and the versioning page at cpui.io/versioning for compatibility guarantees. The short answer for a 0.1 series: do not assume any.
CPUI vs Electron vs Tauri vs egui and GPUI
CPUI is not the first framework to promise small native desktop apps in Rust. The table below sticks to well-established architecture facts and invents no memory or binary-size figures for the competitors, because those depend heavily on the app.
| CPUI | Electron | Tauri | egui | GPUI | |
|---|---|---|---|---|---|
| Language and UI model | Rust, immediate mode | JavaScript/TypeScript, HTML and CSS | Rust backend, web frontend | Rust, immediate mode | Rust, retained mode, GPU rendering |
| Rendering | CPU rasterization via softbuffer; no GPU | Chromium engine, GPU-accelerated | The OS webview | GPU-rendered by default | GPU-accelerated |
| What ships in the app | Machine code plus the framework; hello example is 2 MB | A full Chromium runtime bundled with the app | No bundled browser; uses the system webview | Machine code plus the framework | Machine code plus the framework |
| Best for | Small tools, utilities, data apps, older hardware | Web teams needing a desktop shell | Web developers wanting small binaries | Tools, debug UIs, embedded apps | High-performance editor-style apps; the framework behind Zed |
| Watch out for | Eight days old; 0.1 series; CPU cost of heavy animation | Large install size and memory use from the bundled browser | Webview behaviour varies by OS | Immediate-mode code can grow unwieldy in large apps | Younger ecosystem than Electron; GPU dependency |
| Maturity | First release series, December 2026 | Established, widely used in production | Established, widely used in tools | Established, widely used in tools | Established, proven by Zed |
The comparison that matters most is with egui: both share immediate mode, but egui draws on the GPU and CPUI on the CPU — so CPUI wins where there is no GPU to speak of, and egui where heavy drawing matters. Against Electron and Tauri, CPUI is a different kind of tool: both let you build in web technology, while CPUI asks for Rust and returns a tiny native binary — a good trade for a Rust developer tool, a poor one for a Figma-and-React team. GPUI is the closest comparison in spirit: it bets on the GPU and wins for editor-style apps; CPUI bets against it and wins on footprint.
Who should try it now, and who should wait
Try it now if you build developer tools, utilities, or data-heavy desktop apps in Rust; if you ship to machines where a GPU cannot be assumed; if you like immediate-mode UI; or if you enjoy early software and reporting what breaks. The quick start is genuinely quick, the widget set is broad enough for a real tool, and the docs at cpui.io cover the rest.
Wait if you need to ship a production app in the next few months; if your app is media-heavy, animation-heavy, or relies on a large canvas; if you need mobile support; or if you need stability guarantees, a plugin ecosystem, or answers on Stack Overflow. Version 0.1 is the first release series of an eight-day-old project; breaking changes are the normal state of a framework at this age.
The middle path is probably right for most readers: build a small side project with CPUI — a log viewer, a config editor, a personal dashboard — and keep production work on the framework you already trust.
How to try it in 10 minutes
You need Rust 1.89 or newer — check with rustc --version; older toolchains will not build CPUI 0.1.3. If Rust is not installed, the installer at rustup.rs sets it up.
Step 1 — Create a project. Run cargo new cpui-try, then add cpui = "0.1.3" under [dependencies] in Cargo.toml.
Step 2 — Paste the counter example. Replace src/main.rs with the counter app from the quick-start section — about thirty lines.
Step 3 — Run it. Run cargo run --release and watch the window. On macOS the README says it opens within 100 ms; on Windows and Linux, time it yourself — the project publishes no figure there.
Step 4 — Explore the examples. Clone the repository and run cargo run --release -p cpui --example gallery to see every widget, then cargo run --release -p cpui --example list to scroll the 100,000-row virtual list yourself. The theme example shows the light and dark variants.
Step 5 — Check the memory claim yourself. Open your system monitor while the hello window sits idle. The README says 27 MB for an idle 800×600 window. If your number is close, you have confirmed the headline on your own machine; if not, file an issue.
Ten minutes will not prove CPUI production-ready — nothing can, at eight days old — but it answers the three questions that matter: does the API feel good, does the window open fast on your machine, and does CPU rendering keep up with your workload?
Limitations and open questions
The README is unusually honest for a project launch, and it leaves several questions open.
Performance figures are self-reported. The 0.1 ms frame, the 0.2 ms scroll, the 27 MB window and the sub-100 ms open time all come from the project itself — no named hardware, no independent measurement.
There is no stability promise yet. Version 0.1 is the first release series, the default branch is dev, and the project has already shipped four tags (v0.1.0 through v0.1.3) in its first week. The API you learn this week may change next week.
CPU rendering has a ceiling. A CPU draws pixels one at a time, and heavy animation or large canvases will cost CPU time and battery. The canvas example shows the framework can animate, but no serious stress test exists yet.
The ecosystem is one project deep. No plugin marketplace, no community widget library, and a small issue tracker still mostly the authors talking to early users. The cpui-icons crate is a nice exception — a dependency-free icon set — but otherwise you build on the framework's own widget set or write custom widgets with Canvas and Custom.
Mobile is experimental, and accessibility is claimed, not yet proven in the wild. iOS and Android are simulator- and emulator-verified only. The README says accessibility uses the operating system's own interfaces through AccessKit — the right architecture — but at eight days old, real-world screen-reader testing has barely begun. If your app must meet accessibility requirements, verify with a real screen reader first.
None of these is a reason to dismiss CPUI — a first release series is supposed to have open questions. The right response is curiosity with a clear-eyed view of the risk, not hype and not cynicism either.
Frequently Asked Questions
What is CPUI?
CPUI is a native GUI framework for Rust apps, rendering entirely on the CPU — no GPU, no browser engine, no webview — developed by DEEIX AI under the Apache License 2.0. Repository: github.com/DEEIX-AI/cpui; docs: cpui.io. Version 0.1 is the first release series; created 28 November 2026.
Is CPUI really faster and lighter than Electron?
The README's numbers — 27 MB idle, a 2 MB hello example — are far smaller than anything Electron ships, because CPUI bundles no browser engine. But the two solve different problems: Electron lets web developers ship desktop apps in HTML and CSS, while CPUI asks you to write the interface in Rust. Judge them on what your team can build and maintain, not only on binary size.
Does CPUI really use only 27 MB of RAM?
An idle 800×600 window uses 27 MB, according to the README — an empty window doing nothing. A real app with content, images and state will use more. The figure is the project's own measurement; no independent benchmark exists yet. Run the hello example and check your system monitor while the window sits idle.
Does CPUI need a GPU?
No. CPUI renders entirely on the CPU through the softbuffer crate, and the README states plainly that it requires no GPU. That helps machines without a capable GPU, but heavy animation and large canvases cost CPU time instead. Tools, utilities and data apps suit it best; games and media-heavy apps do not.
Which platforms does CPUI support?
macOS 13, Windows 10 and Linux with glibc 2.28 are verified. iOS 16 and Android 8 (API 26) are experimental, verified only in the simulator and emulator respectively. Desktop is what matters today; the roadmap at cpui.io/guides/roadmap/ shows what comes next.
Is CPUI ready for production?
Not yet, for most teams. It is eight days old, version 0.1 is the first release series, and the API may change between releases. It is ready for side projects and developer tools where you control the risk. For a production launch in the next few months, use a framework with a stability record and keep CPUI as the experiment on the side.
Sources: CPUI repository, github.com/DEEIX-AI/cpui (README and repository page, checked 5 December 2026); CPUI documentation, cpui.io (guides, design, performance, roadmap, versioning); CPUI component demos, cpui.io/components; CPUI icons, cpui.io/icons; softbuffer, github.com/rust-windowing/softbuffer; winit, github.com/rust-windowing/winit; AccessKit, accesskit.dev; Rust toolchain, rustup.rs. All performance and memory figures here are developer-reported figures from the CPUI README; no independent benchmarks exist yet.
Building a desktop tool?
If you are building a desktop tool, a developer utility, or a data-heavy app and want a second pair of eyes on the stack, the interface, or the launch — talk to Asad Webs. We build web apps and tools for clients in the USA, UK and Europe, and we like projects where the right framework choice saves months.




Be the first to share a useful question or thought.