Tauri exists because Electron is a fucking memory hog. Discord eating 1.2GB RAM for a chat app? That's Electron bundling an entire Chrome browser with your messages. Tauri uses your system's WebView instead of shipping Chrome with every app.
I tested this myself - my Tauri calculator uses 23MB of RAM. The same app in Electron? 187MB. That's not a typo.
But here's the part they don't tell you: WebKit rendering is different from Chrome. That CSS Grid you perfected in dev tools? It'll break on macOS Safari WebView in ways that make you question your life choices. Spent 6 hours debugging a flexbox issue that worked everywhere except macOS - turns out WebKit handles align-items: baseline
differently than Chrome.
The Technical Reality
Your web frontend runs in the system WebView while Rust handles file access and system calls. Windows uses WebView2 (basically Edge), macOS uses WebKit (Safari engine), Linux uses whatever webkit2gtk decided to implement that week.
Here's where it gets fun: WebView2 on Windows 10 version 1903 doesn't support CSS custom properties properly. Found that out after a user reported our entire UI was unstyled. macOS WebKit lags behind Safari by 6 months for new features. And Linux webkit2gtk? Good luck getting CSS Grid to work consistently across Ubuntu versions.
The worst part? Your app works perfectly in Chrome dev tools but breaks in production WebView with zero error messages. Welcome to native WebView hell.
What You Actually Need to Install
Three things that each break in their own creative ways:
System Dependencies
Visual Studio Build Tools on Windows (3.2GB download that fails 40% of the time), Xcode Command Line Tools on macOS (2.1GB and it'll restart your terminal session), webkit libraries on Linux (different package names on every distro because fuck consistency).
Rust Toolchain
rustup works fine, but your first
cargo build
will take 23 minutes and download half the internet. My MacBook Pro fans sounded like a jet engine.
Node.js
Technically "optional" but try building any modern frontend without it. Just install Node 18+ and save yourself the headache.
Platform Support Reality Check
Windows
Visual Studio Build Tools installer has a 50/50 chance of corrupting itself mid-download. When it works, great. When it doesn't, you'll spend 2 hours uninstalling ghost registry entries. WebView2 should be on Windows 10/11 but corporate IT loves stripping it out because security theater.
macOS
Smoothest experience if you don't mind downloading 2.1GB of Xcode Command Line Tools over your coffee shop WiFi. macOS Sonoma and newer work fine. Monterey is... temperamental.
Linux
Ubuntu calls it
libwebkit2gtk-4.1-dev
, Arch calls it webkit2gtk
, CentOS calls it webkit2gtk3-devel
. Same library, different names because Linux maintainers hate you personally.
Mobile support
Don't. Just don't. Android NDK is 6 different ways of breaking your build system, and iOS needs 15GB of Xcode. Save yourself the pain and stick to desktop.
My experience? Windows took me 3.5 hours because Visual Studio installer corrupted itself twice. macOS worked in 15 minutes. Linux (Arch) worked in 8 minutes because I actually knew which packages to install.