winit VS tauri

Compare winit vs tauri and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
winit tauri
48 469
4,390 77,154
6.7% 2.8%
9.7 9.8
4 days ago 4 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

winit

Posts with mentions or reviews of winit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-22.
  • Linux version of Warp terminal is here
    4 projects | news.ycombinator.com | 22 Feb 2024
    Hi! I’m Aloke, an engineer at Warp.

    I’m really excited to share that Warp is now available on Linux! If you’re interested in trying it out, you can download Warp: https://warp.dev/

    Building Warp on Linux was quite an undertaking. Warp uses a custom Rust-based UI framework that we built in house and renders natively on the GPU. To get Warp running on Linux, we built a version of our UI framework that supports winit [1] as a windowing backend. We also built a version of our renderer that uses wgpu [2]. Reducing complexity by using these well-supported, cross platform, frameworks let us bootstrap a version of Linux quicker than expected and should make it easier to build Warp for other platforms (like Windows).

    Please let me know what you think! Happy to answer any questions, either about the product or about technical challenges.

    [1] https://github.com/rust-windowing/winit

  • Container2wasm: Convert Containers to WASM Blobs
    16 projects | news.ycombinator.com | 3 Jan 2024
  • Can't get winit sample to compile
    1 project | /r/learnrust | 18 Oct 2023
    This link: https://github.com/rust-windowing/winit has this code:
  • Hey Rustaceans! Got a question? Ask here (28/2023)!
    2 projects | /r/rust | 12 Jul 2023
    Have you seen the official example?
  • Hey Rustaceans! Got a question? Ask here (20/2023)!
    4 projects | /r/rust | 15 May 2023
    That's a bit shortsighted given that there is an active discussion about reducing the interior mutability.
  • File dialog with ImGui?
    1 project | /r/rust | 23 Apr 2023
    I really need a file dialog for my ImGui-based project in Rust. I tried using this crate but it's wayyyyyyy too old. I also saw this but considering the date it was last updated and the look of the repo, it's not gonna work either. Also I maintain my own library for such things, but it's currently blocked by this issue. What options do I have?
  • Announcing async-winit, a new way to use winit as an async runtime
    1 project | /r/rust | 17 Apr 2023
    In this case, I used the "A"GPL because this crate could feasibly run on the web. winit has a web backend. At the moment I don't support it (there's a PR that needs to land first), but in the near future it's not implausible that this crate could be used in a web environment.
  • XUL Layout has been removed from Firefox
    18 projects | news.ycombinator.com | 1 Apr 2023
    There are a number of up-and-coming Rust-based frameworks in this niche:

    - https://github.com/iced-rs/iced (probably the most usable today)

    - https://github.com/vizia/vizia

    - https://github.com/marc2332/freya

    - https://github.com/linebender/xilem (currently very incomplete but exciting because it's from a team with a strong track record)

    What is also exciting to me is that the Rust GUI ecosystem is in many cases building itself up with modular libraries. So while we have umpteen competing frameworks they are to a large degree all building and collaborating on the same foundations. For example, we have:

    - https://github.com/rust-windowing/winit (cross-platform window creation)

    - https://github.com/gfx-rs/wgpu (abstraction on top of vulkan/metal/dx12)

    - https://github.com/linebender/vello (a canvas like imperative drawing API on top of wgpu)

    - https://github.com/DioxusLabs/taffy (UI layout algorithms)

    - https://github.com/pop-os/cosmic-text (text rendering and editing)

    - https://github.com/AccessKit/accesskit (cross-platform accessibility APIs)

    In many cases there a see https://blessed.rs/crates#section-graphics-subsection-gui for a more complete list of frameworks and foundational libraries)

  • Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.68]
    10 projects | /r/rust | 10 Mar 2023
    Name: Francesca! Location: Portland, OR (UTC-7) Looking for: Remote only, full-time or contract. Contact: [email protected] LinkedIn: https://www.linkedin.com/in/francesca-lovebloom/ GitHub: https://github.com/francesca64 Experience: 4+ years of professional Rust experience; former lead maintainer of winit and creator of cargo-mobile.
  • Ubuntu alternatives?
    4 projects | /r/linuxquestions | 17 Feb 2023
    Window manager: https://github.com/rust-windowing/winit

tauri

Posts with mentions or reviews of tauri. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Tauri CRUD Boilerplate
    2 projects | dev.to | 10 Apr 2024
    Hi, dear Tauri! Long time no see. I published my first post, Developing a Desktop Application via Rust and NextJS. The Tauri Way almost a year ago. Since then, Tauri has become stronger. I'm happy about that! And now, I am very pleased to make a useful contribution to the Tauri community. As a full-stack developer, I frequently face situations where I need to start a DB-based UI project as fast as possible. It's stressful if I need to start the project from 100% scratch. I prefer to keep some boilerplates on hand, which will save me time and nerves and will be the subject of this article.
  • Show HN: Floro – Visual Version Control for static assets and strings
    4 projects | news.ycombinator.com | 2 Apr 2024
    Hey Thanks!

    Just electron & vite. I might actually migrate off electron, Tauri (https://tauri.app/) seems to be getting more stable and it's gotten great reviews.

    I think this is the boilerplate I used though https://github.com/cawa-93/vite-electron-builder.

  • 3D and 2D: Testing out my cross-platform graphics engine
    17 projects | news.ycombinator.com | 2 Apr 2024
    Well the great thing about WebAssembly is that you can port QT or anything else to be at a layer below -- thanks to WebAssembly Interface Types[0] and the Component Model specification that works underneath that.

    To over-simplify, the Component Model manages language interop, and WIT constrains the boundaries with interfaces.

    IMO the problem here is defining a 90% solution for most window, tab, button, etc management, then building embeddings in QT, Flutter/Skia, and other lower level engines. Getting a good cross-platform way of doing data passing, triggering re-renders, serializing window state is probably the meat of the interesting work.

    On top of that, you really need great UX. This is normally where projects fall short -- why should I use this solution instead of something like Tauri[2] which is excellent or Electron?

    [0]: https://github.com/WebAssembly/component-model/blob/main/des...

    [1]: https://github.com/WebAssembly/component-model/blob/main/des...

    [2]: https://tauri.app/

  • Interview with Colin Lienard, Founder of GitLight
    2 projects | dev.to | 1 Apr 2024
    Welcome to the 2nd episode of our series “Building with Tauri”, where we chat with developers who build amazing projects and products using Tauri.
  • Building W-9 Crafter
    4 projects | dev.to | 28 Mar 2024
    Tauri seemed like the "thing" I should switch to because everybody loves Rust (heh), and because it ships significantly smaller apps.
  • Tauri + React + ShadcnUI
    2 projects | dev.to | 26 Mar 2024
    First of all, I will be using npm as my package manager but feel free to use whatever you prefer. Find more info here.
  • Slint 1.5: Embracing Android, Improving Live-Preview, and Pythonic Slint
    1 project | news.ycombinator.com | 15 Mar 2024
  • Shoes makes building little graphical programs for Mac, Windows, Linux simple
    13 projects | news.ycombinator.com | 23 Feb 2024
  • Tauri - Rust, Js and Native Apps
    2 projects | dev.to | 12 Feb 2024
    Today I'm talking about Tauri! Do you know all the various tools that allow you to develop native applications starting from web languages? They often need an intermediate compilation, in the middle of which you end up encountering various problems not always transparent and directly solvable with a language mostly detached from native development. On the other hand, there's still the ease of developing attractive and easily usable interfaces, which are more difficult to develop with low level languages.
  • Why Bloat Is Still Software's Biggest Vulnerability
    4 projects | news.ycombinator.com | 9 Feb 2024
    I think Tauri is the most established framework using that approach

    https://tauri.app

What are some alternatives?

When comparing winit and tauri you can also consider the following projects:

rust-sdl2 - SDL2 bindings for Rust

Wails - Create beautiful applications using Go

wgpu - Cross-platform, safe, pure-rust graphics api.

neutralinojs - Portable and lightweight cross-platform desktop application development framework

learn-wgpu - Guide for using gfx-rs's wgpu library.

dioxus - Fullstack GUI library for web, desktop, mobile, and more.

raw-window-handle - A common windowing interoperability library for Rust

Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in

egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

iced - A cross-platform GUI library for Rust, inspired by Elm