# BUI pulls Blender's interface out into a standalone UI library and claims it beats GPUI. What the numbers say

> BUI is an independent GPL project that ports Blender's widget drawing and interaction rules into a small C runtime with Python, Rust, JavaScript and C/C++ bindings. Its benchmark against Zed's GPUI looks strong, but it comes from one laptop, one workload and the author's own harness.

Published Nov 7, 2026 by TechMeasured Staff · Repos · Canonical: https://techmeasured.com/repos/bui-blender-ui-standalone-library-rust-python-react-vs-gpui-benchmarks

**BUI** is a new open-source project that takes **Blender's user interface** (the dense panels, drag-to-scrub number fields, pie menus and node editor familiar to 3D artists) and turns it into a general-purpose UI library you can use without Blender installed. The repo's README describes a small C core, called the "kit," that keeps a widget tree, handles layout and input, and draws either on the CPU or, opt-in, on the GPU. On top sit bindings for **Python, Rust, JavaScript/React, C, C++ and Dear ImGui**. It was the top story on Hacker News' front page for November 6, with 687 points and 278 comments.

Why it matters: the post's headline pitch is speed against **GPUI**, the GPU-rendered Rust UI framework behind the Zed editor (Discord's new desktop app is also built on it, as [we reported](/gadgets/discord-drops-electron-rust-gpui-desktop-app-290mb-ram-what-we-know)). A library that starts in milliseconds, idles at zero CPU and runs existing tkinter programs unchanged would be useful for internal tools and quick desktop apps. The catch is that the evidence is, so far, the author's own.

## What it is (and isn't)

- **Not Blender, not a browser.** The README says there's no webview or browser engine. The drawing code reuses Blender's widget rules, and the macOS window host is a port of Blender's Cocoa code (GHOST).
- **Many front doors.** Python gets tkinter-compatible, Qt-style, Blender-component and Dear ImGui APIs. Rust gets HTML/CSS/Tailwind-style markup, an `rsx!` macro and GPUI-style builders. JavaScript gets React and native packages, and the project site also lists a Svelte adapter.
- **Blender behaviours carried over.** The site lists drag-to-scrub fields, expression input in number fields, undo, pie menus and fuzzy menu search, and says it redraws only widgets that change and sleeps when idle.
- **Independent.** The site says it is not affiliated with Blender and notes Blender is a Blender Foundation trademark.

## The benchmark, as published

The README's comparison runs a Rust app drawing 3,000 animated cells on a **Ryzen 7 5800U laptop under Windows 11**, measured, the README notes, before the latest features landed.

| Metric | BUI (GPU) | BUI (CPU) | gpui-fast | gpui |
|---|---|---|---|---|
| Frames per second | 59.9 | 57.6 | 31.5 | 19.9 |
| CPU per frame | 11.6 ms | 22.0 ms | 31.9 ms + GPU | 50.5 ms + GPU |
| RAM | 40 MB | 30 MB | 65 MB | 77 MB |
| First frame | ~5 ms | ~5 ms | ~200 ms | ~220 ms |
| Idle CPU | 0% | 0–0.9% | 0–0.4% | 0.9–1.4% |

The README also reports a median settings-window startup of 40 ms for BUI's CPU renderer against 231 ms for gpui and 226 ms for the gpui-fast fork.

The author flags several caveats, to their credit: the figures show "the shape of things, not a promise"; GPUI has no form widgets, so its controls were styled divs; GPUI's numbers exclude GPU time; and gpui-fast's frame rate swung between 30 and 60 fps across sessions. Methodology is documented (medians over repeated launches, per-process CPU cycle counting, Windows performance counters for GPU), and the harness is in the repo, so anyone can re-run it. We found no independent re-run yet.

## Platform support and maturity

| Platform | Window host | GPU backend |
|---|---|---|
| Windows | Native Win32 | Direct3D 11 |
| Linux | X11 (Wayland via XWayland) | OpenGL 3.3 |
| macOS | Experimental Cocoa | CPU only for now |

The README's own feature table marks tkinter syntax and Blender components "Complete," the Rust, JavaScript, C and Dear ImGui bindings "Working," and Qt-style syntax "Partial" at roughly a quarter of Qt's method names. Listed gaps include no IME support, no per-glyph font fallback and no OpenType features, which rules it out for many apps that need CJK input or polished text. The roadmap on the site adds WebAssembly, Vulkan and WebGPU backends, and more adapters.

On licensing, the project site states **GPL-3.0-or-later**, matching Blender. The GitHub sidebar shows GPL-3.0, while one README badge says GPL-2.0-or-later. Either way it's copyleft, which matters if you plan to ship closed-source software on it.

## Try it

```bash
pip install blenderui          # Python 3.11+
cargo add blenderui            # Rust 1.88+
npm install @blender-ui/react react
```

**Who should care:** Python developers with tkinter tools that look dated, and Rust developers weighing GPUI for small utilities. Run the bundled benchmark on your own hardware before trusting the headline, and check the GPL terms and the missing text-input features before building anything you plan to ship.


## Sources

1. [GitHub — ppmpreetham/BUI](https://github.com/ppmpreetham/BUI)
2. [BUI — Blender's interface, for your app (project site)](https://bui.preetham.top/)
3. [Hacker News — front page, 2026-11-06 ("Blender's UI and Runtime: Much Faster Than GPUI")](https://news.ycombinator.com/front)
