NSH is a framework for whole apps on iOS, Android, macOS, Windows, Linux and the web, and a runtime for UI delivered to apps after release. This page compares it first with the cross-platform frameworks people write apps in, then with the ways apps take UI they did not ship with. Green means the capability is available, yellow that it needs more of the app‘s own work or a separate project, and red that it is not provided; the marks describe availability, not performance. Versions are each framework’s documented minimums at the time of writing: check them for the release you use.
Legend: Yes · Partial · No.
| Capability | NSH | React Native | Flutter | Qt 6 | GPUI | GPUI Fast | Slint |
|---|---|---|---|---|---|---|---|
| Drawn by | Platform UI | Platform views | Own engine | Scene graph | Own, GPU | Own, GPU | Own renderer |
| UI model | Retained | Retained | Retained | Retained | Immediate | Immediate + Retained | Reactive, retained |
| Language | Rust, TSX | JS, TS | Dart | C++, QML | Rust | Rust | Slint + Rust, C++ |
| iOS | 15+ | 15.1+ | 15+ | 17+ | Rust | ||
| Android | 9+ | 7+ | 7+ | 9+ | |||
| macOS | 14+ | Separate | 12+ | 13+ | 12+ | 12+ | 13+ |
| Windows | 10 1809+ | Separate | 10+ | 10 1809+ | 10+ | 10+ | 10+ |
| Linux | GTK 4.14+ | Debian 10+ | Debian 11+ | Vulkan | Vulkan | ||
| Web | HTML | Library | Canvas | Canvas | Canvas | ||
| System text | |||||||
| Per-device UX | |||||||
| No JS runtime | Rust apps | C++ | |||||
| Signed delivery | OTA | QML | Shell | Shell | |||
| License | Apache-2.0 | MIT | BSD-3-Clause | LGPL, GPL, commercial | Apache-2.0 | Apache-2.0 | GPL, commercial |
Immediate mode builds the UI description again every frame; retained mode keeps it and updates only what changed. GPUI Fast combines the two on GPUI and runs where GPUI runs. “Shell” is GPUI Shell.
NSH is the one framework here that brings all of these together: each platform's own UI and text input, phones, desktops and the web from one app — the web as HTML — Rust apps with no JavaScript runtime, and signed, sandboxed UI delivered after release.
UITextView, EditText, NSTextView, GTK‘s TextView, the browser’s — with the system‘s input methods, selection handles and editing menus; on Windows, NSH’s own editor works with DirectWrite and the system‘s input methods (IMM32). React Native also uses the platform’s text inputs. The self-drawn frameworks implement text editing themselves and connect it to the system's input methods.Menu is a popup at its trigger with a pointer and a sheet from the bottom on a phone, and a ContextMenu opens on a right click or a held finger. In the others, adapting interaction per device is mostly the app’s own work..nshpkg packages against the keys it trusts and a revocation list, and runs each in a VM with the limits and capabilities the host grants (Signed packages, Sandbox and capabilities). React Native's over-the-air updates ship trusted app code; Qt can load QML files; GPUI apps take JavaScript modules through GPUI Shell.nsh executable creates, runs, tests on real platforms, packages and signs apps for every target.React Native is the closest in intent: both reduce duplicated client work and use the platform‘s views. React Native’s center is JavaScript or TypeScript with React and its package ecosystem, on iOS and Android, with desktop support in separate projects. NSH's center is Rust: its runtime, renderer and modules are Rust, Rust is an app language of its own, and TSX is one path among two; its six platforms, the desktops and the web included, are backends of the same framework.
Flutter draws every pixel with its own engine, so an app looks the same on every platform. NSH takes the other path: the views, text and text input of each platform, and on the web HTML elements and the browser‘s own scrolling, selection and input. Text editing, input methods and selection are the platform’s, rather than reimplemented per platform.
Qt is a mature toolkit with two UI technologies, Qt Widgets and Qt Quick, and long-standing tools and platform support. NSH differs in its base and its model: Rust as the core language with a TSX path, a toolchain designed for automated (and AI-driven) development, the web rendered as HTML, and mobile, desktop and web interaction adapted inside one component model.
GPUI is a Rust UI framework that draws with the GPU, built for demanding desktop apps; GPUI Fast is Longbridge‘s fork with retained rendering — it reuses unchanged views, layout and text measurements — scroll layers and native window composition. NSH builds on each platform’s views instead, so text input, selection, input methods and system interaction are the platform‘s own, and it covers phones and the web as well; NSH’s GPUI backend embeds NSH apps in GPUI and GPUI Kit apps (GPUI).
The two suit different loads. In the NSH performance benchmark (Linux, a 500-row quote table, NSH on its GTK 4 backend), everyday loads cost the same: at 1,000 quotes a second, NSH Rust uses 18% of a core and GPUI Fast 20%. Under sustained, dense updates GPUI Fast is ahead: at 20,000 quotes a second it uses 25% of a core where NSH uses 73–78%, and frame-by-frame animation of 1,000 boxes costs it about a third of NSH's CPU.
Slint is a declarative UI toolkit with its own language and light renderers, for desktops and embedded devices, used from Rust, C++, JavaScript or Python. Both value native performance; NSH‘s route is each platform’s own UI and interaction, HTML on the web, Rust and TSX as app languages, and AI-driven development across six platforms.
Electron bundles Chromium and Tauri uses the system‘s web view: both build desktop apps (and, with Tauri, mobile apps) from web content, with the browser’s text and input. NSH builds each platform's own views instead, and renders HTML only on the web itself.
An app that wants UI it did not ship with — answers generated by a model, features from partners or other teams, screens that change without a release — has a handful of established options, on phones and desktops alike. They differ in what draws the UI, what the delivered code may do, and how much of the app has to change to host them.
| Capability | NSH | Web view | Server-driven UI | Mini-programs | OTA updates |
|---|---|---|---|---|---|
| Drawn by | Platform UI | Browser engine | The app's views | Web engine + layer | Framework renderer |
| Native look and behavior | |||||
| Own state, logic and layout | |||||
| Host's native components | Bridge | ||||
| Sandbox the host configures | Same-origin | Schema | |||
| Signed, revocable packages | |||||
| Fit for AI-generated UI | Web pages | ||||
| Cost to the host app | One view and a library | A browser engine per view | A renderer per component | A container SDK | The whole app in the framework |