winit VS piet-wgpu

Compare winit vs piet-wgpu and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
winit piet-wgpu
48 3
4,390 23
6.7% -
9.7 0.0
5 days ago 11 months ago
Rust Rust
Apache License 2.0 MIT License
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

piet-wgpu

Posts with mentions or reviews of piet-wgpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-24.
  • Why do rust projects have so many dependencies?
    5 projects | /r/rust | 24 Dec 2021
    d:\github\rust\lapce>cargo build Updating git repository `https://github.com/lapce/druid` Updating git repository `https://github.com/lapce/xi-editor` Updating git submodule `https://github.com/xi-editor/syntect-resources` Updating git repository `https://github.com/lapce/piet-wgpu` Downloaded Inflector v0.11.4 Downloaded alacritty_terminal v0.15.0 Downloaded addr2line v0.16.0 Downloaded ansi_term v0.12.1 Downloaded bit-vec v0.6.3 Downloaded arrayvec v0.4.12 Downloaded bitmaps v2.1.0 Downloaded byteorder v1.4.3 Downloaded copypasta v0.7.1 Downloaded bit-vec v0.5.1 Downloaded crossbeam v0.7.3 Downloaded crossbeam-epoch v0.8.2 Downloaded crossbeam-utils v0.7.2 Downloaded darling_macro v0.13.1 Downloaded darling_core v0.13.1 Downloaded filetime v0.2.15 Downloaded foreign-types-shared v0.1.1 Downloaded form_urlencoded v1.0.1 Downloaded futures-util v0.3.17 Downloaded futures-task v0.3.17 Downloaded futures-macro v0.3.17 Downloaded h2 v0.3.9 Downloaded fixedbitset v0.2.0 Downloaded indexmap v1.7.0 Downloaded git2 v0.13.23 Downloaded khronos-egl v4.1.0 Downloaded kurbo v0.8.1 Downloaded lsp-types v0.89.2 Downloaded libssh2-sys v0.2.21 Downloaded memmap2 v0.5.0 Downloaded mio-anonymous-pipes v0.2.0 Downloaded nodrop v0.1.14 Downloaded memchr v2.4.1 Downloaded object v0.26.2 Downloaded pin-utils v0.1.0 Downloaded ndarray v0.11.2 Downloaded proc-macro-nested v0.1.7 Downloaded rand_chacha v0.1.1 Downloaded proc-macro2 v1.0.29 Downloaded rand_isaac v0.1.1 Downloaded rand_jitter v0.1.4 Downloaded rustc_version v0.2.3 Downloaded rustc-demangle v0.1.21 Downloaded scopeguard v1.1.0 Downloaded seahash v4.1.0 Downloaded sharded-slab v0.1.3 Downloaded serde_json v1.0.67 Downloaded smallvec v1.6.1 Downloaded svgtypes v0.5.0 Downloaded strum_macros v0.19.4 Downloaded syn v1.0.75 Downloaded time-macros v0.1.1 Downloaded tinyfiledialogs v3.8.3 Downloaded tracing-core v0.1.19 Downloaded unic-langid v0.9.0 Downloaded ucd-trie v0.1.3 Downloaded unicode-script v0.5.3 Downloaded unicode-segmentation v1.8.0 Downloaded vte_generate_state_changes v0.1.1 Downloaded want v0.3.0 Downloaded wasmer-vm v2.1.1 Downloaded wasmer-wasi v2.1.1 Downloaded winreg v0.7.0 Downloaded wio v0.2.2 Downloaded yaml-rust v0.4.5 Downloaded ahash v0.4.7 Downloaded bincode v1.3.3 Downloaded cc v1.0.69 Downloaded xi-rope v0.3.0 Downloaded cranelift-codegen v0.76.0 Downloaded crossbeam-deque v0.8.1 Downloaded crossbeam-channel v0.2.6 Downloaded enumset_derive v0.5.5 Downloaded fluent-bundle v0.15.1 Downloaded futures-io v0.3.17 Downloaded generic-array v0.14.4 Downloaded data-url v0.1.0 Downloaded hyper v0.14.16 Downloaded gimli v0.25.0 Downloaded ident_case v1.0.1 Downloaded intl_pluralrules v7.0.1 Downloaded iovec v0.1.4 Downloaded lazy-bytes-cast v5.0.1 Downloaded lazy_static v0.2.11 Downloaded lyon v0.17.5 Downloaded memoffset v0.2.1 Downloaded memoffset v0.5.6 Downloaded num_cpus v1.13.1 Downloaded libz-sys v1.1.3 Downloaded naga v0.7.1 Downloaded parking_lot v0.6.4 Downloaded pico-args v0.4.2 Downloaded proc-macro-error-attr v1.0.4 Downloaded petgraph v0.6.0 Downloaded rand_xoshiro v0.4.0 Downloaded rand_xorshift v0.1.1 Downloaded rayon v1.5.1 Downloaded rustversion v1.0.6 Downloaded regalloc v0.0.31 Downloaded serde_bytes v0.11.5 Downloaded rustybuzz v0.3.0 Downloaded sized-chunks v0.6.5 Downloaded sled v0.34.7 Downloaded static_assertions v1.1.0 Downloaded try-lock v0.2.3 Downloaded tower-service v0.3.1 Downloaded unic-bidi v0.9.0 Downloaded ttf-parser v0.12.3 Downloaded unicode-bidi-mirroring v0.1.0 Downloaded vte v0.10.1 Downloaded uuid v0.7.4 Downloaded wasmer-object v2.1.1 Downloaded wasmer-engine-universal v2.1.1 Downloaded which v4.2.2 Downloaded ahash v0.7.6 Downloaded arrayvec v0.5.2 Downloaded bytemuck v1.7.2 Downloaded bytes v1.1.0 Downloaded xi-rpc v0.3.0 Downloaded console v0.6.2 Downloaded crossbeam-deque v0.5.2 Downloaded digest v0.9.0 Downloaded darling v0.13.1 Downloaded crossbeam v0.4.1 Downloaded glob v0.3.0 Downloaded heck v0.3.3 Downloaded float-cmp v0.5.3 Downloaded hashbrown v0.11.2 Downloaded itoa v0.4.8 Downloaded line-wrap v0.1.1 Downloaded lazycell v1.3.0 Downloaded loupe-derive v0.1.3 Downloaded jobserver v0.1.24 Downloaded memoffset v0.6.4 Downloaded ipnet v2.3.1 Downloaded mime v0.3.16 Downloaded native-tls v0.2.8 Downloaded parking_lot v0.11.2 Downloaded pathfinder_geometry v0.5.1 Downloaded libc v0.2.101 Downloaded proc-macro-hack v0.5.19 Downloaded rand v0.8.4 Downloaded piet v0.4.0 Downloaded rustc-hash v1.1.0 Downloaded schannel v0.1.19 Downloaded roxmltree v0.14.1 Downloaded serde v0.8.23 Downloaded strum v0.19.5 Downloaded time v0.1.43 Downloaded thiserror-impl v1.0.28 Downloaded tracing-attributes v0.1.15 Downloaded serde v1.0.130 Downloaded unic-char-property v0.9.0 Downloaded tree-sitter v0.19.2 Downloaded petgraph v0.5.1 Downloaded tokio v1.15.0 Downloaded vcpkg v0.2.15 Downloaded wasmer-engine-dylib v2.1.1 Downloaded copyless v0.1.5 .... Downloaded 415 crates (29.2 MB) in 1m 13s (largest was `profiling` at 1.7 MB) ....
  • Lightning-fast and Powerful Code Editor written in Rust
    8 projects | /r/rust | 14 Dec 2021
    For wgpu, it uses a self written wgpu backend hooked with druid. https://github.com/lapce/piet-wgpu
  • Lightning-Fast and Powerful Code Editor Written in Rust
    11 projects | news.ycombinator.com | 13 Dec 2021

What are some alternatives?

When comparing winit and piet-wgpu you can also consider the following projects:

rust-sdl2 - SDL2 bindings for Rust

text-editors-written-in-rust

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

druid - A data-first Rust-native UI design toolkit.

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

helix - A post-modern modal text editor.

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

xi-editor - A modern editor with a backend written in Rust.

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

semver - Semantic Versioning Specification

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

lapce - Lightning-fast and Powerful Code Editor written in Rust