gtk VS egui

Compare gtk vs egui and see what are their differences.

gtk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead! (by gtk-rs)

egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native (by emilk)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gtk egui
5 217
1,306 23,660
- 2.5%
4.0 9.8
over 4 years ago 6 days ago
Rust Rust
GNU General Public License v3.0 or later MIT OR Apache-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.

gtk

Posts with mentions or reviews of gtk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-10.
  • Sharex doesn't open!!!
    2 projects | /r/archlinux | 10 Nov 2021
    thread 'main' panicked at 'libgtk-3 was configured with `--enable-debug=no`. See https://github.com/gtk-rs/gtk/issues/270 for details', /home/(username)/.cargo/registry/src/github.com-1ecc6299db9ec823/gtk-0.5.0/src/rt.rs:137:13
  • need help, gtk on windows 10 using vs code
    1 project | /r/rust | 7 Jun 2021
    basically I setup gtk how it is described on the gtk-rs.org site and official gtk guide https://www.gtk.org/docs/installations/windows/ using msys2, for more details check this video it describes exactly what I did https://www.youtube.com/watch?v=rUJFYOCbuDg
  • Is there a place where I can learn how to do low level system programming for Linux?
    1 project | /r/linuxquestions | 3 Apr 2021
    You could make bar pretty easily with GTK. You should read up on the Wayland and GTK documentation. GTK has official bindings for C and Python, and there is gtk-rs.org for Rust.
  • form applications using rust
    1 project | /r/rust | 31 Mar 2021
    There's https://crates.io/crates/gtk
  • How would I code a file manager (gui)
    1 project | /r/linuxquestions | 31 Mar 2021
    I wouldn't expect there to be a tutorial specifically for writing a file manager. (After all, the vast majority of people who write GUI apps for Linux never write a file manager.) But there is some documentation on how to write GUIs with Rust and GTK here https://gtk-rs.org/.

egui

Posts with mentions or reviews of egui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-25.
  • Egui – An immediate mode GUI written in Rust
    11 projects | news.ycombinator.com | 25 Dec 2024
  • Show HN: Interactive graphs in Rerun with a Rust port of D3-force
    6 projects | news.ycombinator.com | 20 Dec 2024
    Thank you for linking your project—that looks really cool! I saw you also implemented a pan-and-zoom area. We are currently working on moving Rerun's implementation to egui [0], so maybe keep an eye on that.

    It would be super cool to have layered graph drawing in (Sugiyama-style) in Rerun too. The tricky–but super interesting–challenge that we face is that our layout implementations need to be consistent across timestamps if the underlying structure of the graph changes, which is why we initially chose a force-based layout approach. There, the time-varying aspect is handled naturally by the simulation.

    The very interactive nature of Rerun also poses more restrictions on the implementation of our algorithms: re-layouts ideally need to be fast, to produce visualizations quickly, especially when scrubbing the timeline.

    I still hope we can rid you of some of the todos ;).

    [0](https://github.com/emilk/egui/pull/5505)

  • Egui 0.29.0 – Multipass, `UiBuilder`, & visual improvements
    1 project | news.ycombinator.com | 26 Sep 2024
  • Egui: An easy-to-use GUI in pure Rust
    1 project | news.ycombinator.com | 24 Sep 2024
  • Show HN: IPA – a GUI for exploring inner details of PDF
    5 projects | news.ycombinator.com | 28 Aug 2024
    Yeah, I knew I was in for some onoz when I saw "compiled to WebAssembly and rendered with WebGL". In their defense, it's stunning that any text operations work at all

    Also, "There is no DOM, HTML, JS or CSS" is some uh-huh given the considerable amount of silliness involved in view-source:https://www.egui.rs/

  • Building cross-platform GUI apps in Rust using egui
    4 projects | dev.to | 27 Aug 2024
    One of these projects, which is built using Rust, is egui. In this article, we’ll see how we can build a simple, cross-platform GUI application with it.
  • Orca: WebAssembly Apps Without the Web
    5 projects | news.ycombinator.com | 29 Jul 2024
    Cross-platform UI development is a total mess with literally zero solutions ticking all the boxes.

    If you want to write an app which will target all the major platforms (3 desktops and two mobiles), want a native look and minimal effort for every platform you target, there is nothing apart from QT.

    If you drop native look requirement, some small things like https://www.egui.rs/ might work for you.

    If you drop the minimal effort requirement, all the webivew based mess might help you but it won't be easy due to multiple reasons.

  • Show dev.to: json table editor
    4 projects | dev.to | 29 Jul 2024
    It allow to edit large json files > 500mb. It is written in rust and use the amazing egui library
  • Egui 0.28 – easy-to-use immediate mode GUI for Rust
    1 project | news.ycombinator.com | 3 Jul 2024
  • Macroquad egui DevTools: Rust Game Debugging UI
    3 projects | dev.to | 2 May 2024
    Probably the hardest part, if you are new to egui, is to work out how to display the widgets you want. The egui demo site is quite handy in this regard. It features the egui widgets, and has GitHub links to the Rust code used to make each widget. This will help you replicate them in your own project.

What are some alternatives?

When comparing gtk and egui you can also consider the following projects:

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

imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

Relm4 - An idiomatic GUI library inspired by Elm and based on gtk4-rs [Moved to: https://github.com/Relm4/Relm4]

slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.

QML-rust - QML (Qt Quick) bindings for Rust language

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

relm - Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust

Azul - Desktop GUI Framework

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

Native Windows GUI - A light windows GUI toolkit for rust

imgui-rs - Rust bindings for Dear ImGui

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Rust is
the 5th most popular programming language
based on number of references?