Native Shell (NSH) is a cross-platform UI framework that lets developers describe apps in TSX while Rust handles reactivity, rendering, layout, and platform integration. Its central claim is that one codebase can produce apps for macOS, Linux, Windows, web, iOS, Android, terminals, and GPUI while using each environment’s native views and input systems. Text entry, accessibility, selection, and platform-specific controls come from the host system; embedded native views such as maps and video can join the same layout. The site highlights performance figures including 120 FPS, roughly 1 ms to show a counter app’s first frame, and updates limited to views that depend on changed signals.
NSH supports standalone apps, runtime-loaded plugins, and interfaces generated by AI models. Teams can add Rust components to TSX apps or build entirely in Rust, and use unstyled base components for navigation, dialogs, menus, editors, and other common UI, with styling left to the app. For dynamically supplied interfaces, modules are type-checked and tested, signed as packages, verified on the device, and run in sandboxes with limits on memory, execution time, and UI nodes, under host-granted capabilities. A single command-line tool handles project creation, builds, hot reload, tests, packaging, and signing; tests can run headlessly or on actual targets. NSH also connects with GPUI Kit, a desktop component library from the same team.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.