liveBook · Manning

Tauri

As explained in Fast by Default

Tauri is a framework for building desktop applications with web frontends and the operating system's native webview instead of a bundled browser engine.

Tauri builds desktop applications with standard web frontends rendered by the operating system's native webview rather than a bundled Chromium engine. This can substantially reduce installer size and idle memory use, making it suited to tools that remain open all day or must download efficiently over slower networks. section 5.2.3

The smaller footprint comes with cross-platform rendering variability. Tauri uses Edge WebView2 on Windows, WebKit on macOS, and WebKitGTK on Linux, so identical frontend code can render differently between operating systems. Electron instead bundles Chromium, providing a more consistent rendering engine across platforms. section 5.2.3 section 7.4.3

Choose and extend Tauri with these constraints in view:

  • Prioritize it when download size and resident memory matter more than a mature ecosystem or identical browser rendering everywhere. section 5.2.3
  • Build the frontend with standard web technologies when built-in APIs meet the application's needs. section 5.2.3
  • Plan for Rust when complex native features need custom commands beyond those APIs. section 5.2.3
  • Validate rendering on every target operating system, especially where layout or interaction differences would affect users. section 7.4.3

Footprint comparison

A typical Electron application may produce an 85 MB installer and use 200 MB at idle. An equivalent Tauri application is described as fitting under 10 MB and using roughly 30–40 MB at idle. These figures illustrate why a lighter runtime can matter for always-open desktop tools, while not eliminating the need to test native-webview differences. section 5.2.3

How Fast by Default covers it

How deep it goes
Explains packaging, memory, rendering-engine, and Rust-extension trade-offs, but stops short of implementing custom commands.
Examples
Compares an 85 MB, 200 MB-idle Electron application with an under-10 MB, 30–40 MB-idle Tauri equivalent.
What it assumes
Uses standard web technologies for the frontend; requires at least basic Rust knowledge for most complex custom commands.
What you can do after
Evaluate/understand whether Tauri's footprint advantages justify native-webview variability and Rust needs for custom functionality.
How it connects
Connects Tauri to Electron, Chromium, native webviews, WebView2, WebKit, WebKitGTK, Rust, and rendering performance.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fast by Default. The section links point to the parts of the book it draws on.