DEV Community

RustDesk
RustDesk

Posted on • Edited on

3

Summary of Flutter vs Tauri

Last week we posted a discussion on the selection of Flutter and Tauri on GitHub, and we are glad that both the author of Tauri and the author flutter_rust_bridge have participated. In the end, the voting score of Tauri is higher. Although we favored Tauri originally, but we still choose Flutter for the time being due to the poor IPC performance of Tauri. I will summarize the discussion, hope it can help you choose between Flutter and Tauri in your future job.

Pros of Tauri:

  • Tauri ecosystem is richer, with massive resources of html/css/js
  • Tauri community is awesome
  • Tauri is based on the browser kernel which is more mature than Flutter in the desktop environment
  • Tauri is simpler, easier to build, easier to learn, and easier to get more contributors
  • Simpler integration with Rust, even you can call Rust async functions (I haven't tried it)
  • Smaller application after compilation

Cons of Tauri:

  • IPC performance is not good (The author of Tauri mentioned the reasons for discarding shared memory support mentioned in the discussion, as well as the problems of IPC, and incomming optimizations, but I can not find it any more)
  • Due to the use of the browser kernel, bigger memory footprint. There are also browser compatibility issues on different platforms.
  • Win7 without WebView installed is a trouble. You can make a big package yourself, or you can install it online, which are not very friendly.
  • Not support mobile. The author mentioned that the mobile version will be launched this year. It is said to be based on EGUI, but there is still a long way to reach stable version.

Pros of Flutter:

  • The ecosystem is also rich
  • Desktop + mobile
  • Good FFI performance
  • Supported by Google

Cons of Flutter:

  • 32-bit Windows are not supported, Google has explicitly stated that they won't support 32-bit Windows.
  • Building, debugging, and integration with Rust is a bit more complicated
  • The final package is slightly larger, a hello world under Windows is 20MB, after zip compression it is 8.36MB, similar size under Linux
  • No static link library

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay