Tauri
lastmod 2025-04-17created 2022-08-244 edits
A framework for building tiny, fast binaries for all major desktop (macOS, Linux, Windows) and mobile (iOS, Android) platforms.
Build an optimized, secure, frontend-independent app for multi-platform deployment.
Tauri vs Electron
- Tauri vs. Electron - comparing with a real application | GeekNews
- Tauri vs. Electron - performance, bundle size, and the real trade-offs | GeekNews
Item-by-item comparison using a cross-platform 2FA app called Authme
- Bundle: Tauri, which uses the OS webview, is much smaller. 2.5MB vs. 85MB
- Startup time: Tauri ~2s vs. Electron ~4s
- RAM usage:
- On Windows, Tauri 80MB vs. Electron 120MB, not a big difference
- On Linux, Tauri 80MB, while Electron spins up a lot of something and uses over 500MB, a big difference
- The Tauri roadmap reportedly plans support for Python, C++, and Deno as well
- Since there can be differences between browsers, Tauri sometimes requires polyfills
- Simpler on the Tauri side. It has a built-in Updater (with the drawback that you have to run your own update server)
- Electron commonly uses electron-updater. Its advantage is the convenience of pulling binaries directly from GitHub releases
- With Tauri, just install the CLI and everything is ready to use (hot reloading, bundling, app creation, etc.)
- Electron gives you only the framework itself, without any of that. You have to handle hot reloading/bundling yourself
- Tauri's biggest advantage is that it is compatible with every web framework
Conclusion
- Chose Tauri
- It still falls short in places, but the Tauri team will catch up with Electron within a few years
- Especially looking forward to being able to use Deno as the backend, easier auto updates, and iOS/Android support
| WARNING |
| Don't take this at face value just yet |
See also
Favorite site
Pages that link here