Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ferrokit vs Swift, egui, Iced, Slint, Tauri, GPUI, NSH, cacao and objc2 on the Mac

Updated 2026-11-27 · Ferrokit 0.15 · Markdown

Which Rust GUI should you use for a Mac app? It depends mostly on one question: does the app have to run anywhere else?

  • Also Windows, Linux, mobile or the web: use a cross-platform toolkit: egui, Iced, Slint, Tauri, GPUI or NSH. Ferrokit is Mac only.
  • Mac only, and it should look and behave like a Mac app: that’s what Ferrokit is for, especially when the app’s core is Rust. NSH and raw objc2 are the other ways to get AppKit views from Rust, and Swift itself is the other way to a Mac app (Or just Swift?).

Ferrokit is written by the same person as this page, so read it with that in mind. Facts about the other projects come from their own repositories and docs, checked 2026-11-11 (GPUI 2026-11-16), with links. If something here is wrong or out of date, please open an issue.

At a glance

How it draws on the MacPlatformsMaturity (2026-11-11)
FerrokitStock AppKit controls (NSTableView, NSTextView…)macOS 15+0.15, alpha; started Oct 2026; one maintainer; no outside users yet
eguiIts own renderer (immediate mode, wgpu/OpenGL)Mac, Windows, Linux, web, Android0.37 (Oct 2026); ~32k stars; very active
IcedIts own renderer (wgpu or CPU)Mac, Windows, Linux, web0.14 (Dec 2025); ~32k stars; active; calls itself experimental
SlintIts own renderer; the cupertino style imitates macOSDesktop, mobile, web, embedded1.18 (Sep 2026); ~25k stars; active; commercial company behind it
TauriThe system web view (WKWebView); UI in HTML, CSS, JSMac, Windows, Linux, iOS, Android2.12 (Oct 2026), 3.0 in alpha; ~113k stars; very active
GPUI with GPUI ComponentIts own GPU renderer (Metal on the Mac); controls “inspired by macOS and Windows”Mac, Windows, Linux (GPUI Kit also WebAssembly)GPUI 0.2.2, pre-1.0, “often breaking changes” (Zed’s editor is built on it); GPUI Component 0.10 (Nov 2026), ~21k stars, very active (Longbridge)
NSHAppKit views and Core Animation, styled by the appMac, iOS, Android, Windows, Linux, web0.5 (Nov 2026); ~2.5k stars; very active (Longbridge)
cacaoAppKit controls through safe bindingsMac (iOS in alpha)0.4.0-beta2 (Aug 2023); ~2.1k stars; no commits since Dec 2024
objc2Whatever AppKit you call yourself: bindings, no widget layerApple platformsobjc2 0.6.5, objc2-app-kit 0.3.2; the bindings Ferrokit itself uses

What the Mac gives you, and who gets it

VoiceOverInput methods (Japanese, Chinese…)System spell checkA table with a million rows
FerrokitAppKit’s own treeThe system’s (NSTextView, NSTextField)Yes (the system’s)NSTableView, virtualised
eguiVia AccessKit, on by default; custom widgets describe themselves (docs)Supported, fixes still landing (#8681)Not foundegui_extras::TableBuilder lays out visible rows only
IcedNot in a release yet (#1849)Added in 0.14Not foundtable widget (0.15); virtualisation not found
SlintVia AccessKit, accessible-* propertiesNot confirmed on desktopNot foundStandardTableView, visible rows only (docs)
TauriWhat WebKit and your HTML provideWhat WebKit providesWhat WebKit providesA JavaScript grid library of your choice
GPUI + GPUI ComponentVia AccessKit, built into its interaction layer (README)Not stated in the READMENot statedData table with virtual scrolling, “hundreds of thousands of rows”
NSHThe real view hierarchy, with labels, roles and states (docs)Handled (inputs are NSTextField/NSTextView)Not statedDataTable, cells in view only (docs)
cacaoWhatever the wrapped controls doSameSameListView with cached rows
objc2Whatever you buildSameSameNSTableView, if you write its data source and delegate

“Not found” means we found nothing about it in the project’s own docs or code; tell us if it exists.

Shipping

Bundle and signNotariseMac App StoreUpdates
Ferrokitcargo ferrokit bundlecargo ferrokit notarizebundle --app-store (sandboxed, universal .pkg)Sparkle, cargo ferrokit appcast
TauriTauri’s bundlerYes, with Apple credentials (docs)Documented path (docs)Tauri’s updater plugin
SlintGenerates an Xcode projectDocumentedDocumentedNot covered
NSHnsh package (ad hoc signed .app)By hand, per its docsNot found for macOSNot found
egui, Iced, cacao, objc2Not in the project (community tools such as cargo-bundle)By handBy handBy hand

Or just Swift?

For a Mac-only app, the real alternative to Ferrokit isn’t another Rust toolkit: it’s Swift, with AppKit or SwiftUI.

  • Swift wins when there’s no Rust code to reuse, when the app should also run on iOS, and when you want Apple’s own tools (Xcode, previews), documentation, sample code and a stable API. SwiftUI is the quickest way to a modern Mac UI; AppKit from Swift has everything Ferrokit has, and more.
  • Ferrokit wins when the app’s core is Rust. The Swift route then needs a bridge (uniffi or swift-bridge), types on both sides, async across the boundary and two build systems; with Ferrokit the UI calls your crates directly, in one cargo build. It also gives AppKit’s data-heavy controls (NSTableView, NSOutlineView, NSTextView) a declarative API, where Swift would use data sources and delegates or SwiftUI’s simpler Table and List.
  • Both: an app can be Swift with a Rust core through a bridge, or Ferrokit with a few SwiftUI views compiled in by ferrokit-build.

When to pick which

Pick egui for tools, debug UIs, editors and anything that also runs on Windows, Linux or the web, when a consistent look of its own is fine. It’s the quickest way from nothing to a window, and it’s mature.

Pick Iced for a typed, Elm-style architecture across desktop platforms, if you can wait for its accessibility work.

Pick Slint for a designer-friendly markup language, embedded devices, or one UI on desktop and mobile. Check its licence: royalty-free for desktop, mobile and web apps (not embedded), GPLv3, or commercial.

Pick Tauri if you or your team know web development, or you want one UI on desktop and mobile with the largest ecosystem. The UI is HTML and CSS in WebKit; it can look Mac-like with work, but it’s a web page.

Pick GPUI with GPUI Component for a fast, polished desktop app on Mac, Windows and Linux with a ready-made component set (docks, a code editor, data tables, charts): it’s the toolkit Zed is built on, and the one r/rust named most when asked about native-feeling Rust apps. It draws its own controls on the GPU, styled after macOS and Windows, rather than using AppKit’s, and GPUI itself is pre-1.0 with frequent breaking changes.

Pick NSH for native views on several platforms from one Rust (or TSX) codebase, with your own design system on top. It’s the closest project to Ferrokit in spirit; the difference is that NSH is cross-platform and lets the app own the controls’ look, while Ferrokit is Mac only and uses AppKit’s stock controls as they are.

Use objc2 directly to add one AppKit view or call to an app built with something else, or for complete control. It’s what Ferrokit is built on; Ferrokit’s native(..) lets you mix the two.

cacao pioneered safe AppKit bindings in Rust, but it hasn’t had a release since 2023 or a commit since 2024 and pins an old objc2 beta, so it’s hard to recommend for a new app.

Pick Swift (AppKit or SwiftUI) for a Mac app with no Rust code behind it, or one that should also run on iOS.

Pick Ferrokit when the app is Mac only, its core is (or will be) Rust, should behave exactly like a Mac app (tables, outlines, text, menus, VoiceOver, Dark Mode, Liquid Glass) without you rebuilding any of it, and you’d rather write Rust than Swift. Go in knowing what it is today: an alpha with one maintainer and no outside users yet, whose API will still change. The examples show how far it goes, and the roadmap where it’s heading.

Coming from egui, Iced or Slint

The ideas carry over, with a few differences. Coming from egui, Iced or Slint has them in full, with the same app written in each:

  • Views are built once. Unlike egui, nothing re-runs every frame; unlike Iced, there’s no view function rebuilding a tree after each message. A view reads signals, and when a signal changes only the native views that read it update (State).
  • State is signals, Signal<T>, which are Copy: closures take them with move. It’s closer to Slint’s properties or SolidJS than to Elm’s messages.
  • Deep widgets have models. A table is a TableModel of your own row type, created once and fed with set_rows; a text editor is a TextModel. You don’t re-describe a million rows each frame (Tables, outlines and editors).
  • Menus, shortcuts and the toolbar are the system’s: commands, handled where the focus is (The app shell).
  • Styling is AppKit’s: system colours and fonts, materials, SF Symbols. You style less and get the system look (Styling).
  • Everything runs on the main thread; spawn does background work and hands the result back, and spawn_local runs async code there, awaiting work on other threads or your own tokio runtime (Async code in a native Mac app).