Blender's UI and Runtime: Much Faster Than GPUI github.com · 133 points · 47 com...
HN Best 200 @best
Blender's UI and Runtime: Much Faster Than GPUI github.com · 133 points · 47 comments · HN thread
TL;DR BUI is a standalone UI library that extracts Blender's widget drawing and interaction rules into a small C runtime, exposed through Python (tkinter and Qt-style APIs plus Blender components and Dear ImGui), Rust (HTML/CSS/Tailwind and gpui-style builders), and JavaScript/React. The author claims it is much faster and lighter than gpui, with idle CPU near zero and a ~5 ms first frame in their benchmark. The repo states it was built with LLMs and is GPL-2.0-or-later because it derives from Blender.
- Core is a C kit ported from Blender's interface_widgets.cc and interface_handlers.cc, with Blender's drag-to-scrub number fields, expression evaluation, fuzzy menu search and Dark/Light themes.
- Four Python APIs ship in one pip package: tkinter syntax (claimed to cover all 7,846 public tkinter/ttk names), partial Qt syntax (~24% of method names), 45 Blender components, and Dear ImGui 1.93 bindings.
- Rust crate blenderui offers rsx! markup, Tailwind v4 classes, CSS layout via taffy and gpui-compatible builders; JavaScript offers a React 19 renderer backed by signals and a DOM-like API.
- Rendering is damage-driven: an idle window uses no CPU, and a hover redraws only the widget it touches; an opt-in GPU renderer uses Direct3D 11 on Windows and OpenGL 3.3 on Linux.
- Benchmarks are self-reported on one Ryzen 7 5800U laptop: about 5x faster first frame and 2-4x less CPU per frame than gpui-fast on an animated scene, with the author noting results vary between sessions.
- Platform support is uneven: Windows and Linux are native, macOS Cocoa host is experimental and tested on one Mac, and npm packages are prebuilt for Windows x64 only. Accessibility and IME are not yet supported.
Discussion The thread is mostly curiosity mixed with skepticism. Many commenters like Blender's UI paradigm and see potential for audio, 3D and creative tools, while others argue that Blender's widgets are dense or hard to learn and that they would not want them outside Blender. A large share of the discussion centers on the GPL license, which several see as a barrier to adoption compared with MIT or Apache-licensed alternatives such as gpui. The project's LLM-built origin draws comment, with some praising the result and others doubting the claimed quality, and one pointing out the missing accessibility support. The overall mood is interested but cautious, with light humor about the Blender-style tagline.
- Blender's UI is a good paradigm for power-user and creative apps (many): Several commenters say Blender-style interaction suits dense tools like audio software, 3D modelers, DAWs and video editors. They see its polish, shortcuts and drag-to-scrub behavior as worth reusing rather than reinventing.
- GPL license limits adoption (many): A recurring objection is that GPL restricts commercial and closed-source use, making gpui (Apache) or MIT options more attractive. Others reply that GPL keeps Blender free and that contributions should flow back.
- Blender's UI is not something to spread (some): Some commenters dislike the look and feel and want Blender's UI to stay inside Blender. Others say it looks terrible but is not slow, and that they find it no worse than other 3D tools.
- Cloning other toolkit APIs is unfocused (a few): One commenter thinks the tkinter, Qt and React layers are a strange detour, since the audience is likely vibe-coders rather than people wanting a Blender-style API. Another replies that supporting multiple APIs is useful for porting existing apps.
- LLM-built code is a concern or a fine tradeoff (some): Some say the project is obviously vibe coded but well executed, and point to the test suites the README describes. Others accept LLM-authored code as a win for making such a project feasible at all.
- Accessibility is missing (a few): One commenter notes there is no mention of accessibility, and advises caution for general-purpose apps. The thread gives little further detail on this point.
- Interest in a BUI-style native UI for other tools (some): Commenters mention wanting GIMP or Inkscape to adopt this GUI, a Python synth parameter UI that was abandoned because of Tk limitations, and a Linux distribution built on such a UI.