ash
egui
Our great sponsors
ash | egui | |
---|---|---|
9 | 155 | |
1,283 | 13,021 | |
2.2% | - | |
8.8 | 9.8 | |
13 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT OR Apache-2.0. |
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.
ash
-
State of GPGPU in 2022
Nice and simple. Its quite portable too. But simplicity and ease of use come with some limitations. Ash is much more complex but can extract every bit of power from your card if needed. Wgpu-rs github comes with many examples and you can find a really nice tutorial here
-
I made a video with every single debug render on a pathtracer I'm programming in Rust
low level vulkan bindings
-
How to render text with rust?
Glium and ash provide low level access to different common graphics api's. I'm sure there's a good directx-11/12 bindings as well but I'm unfamiliar with what people use.
-
Pilka: Personal live-coding shader editor
This project was inspired by the Bonzomatic, KodeLife and others, as well as in educational purposes to learn Vulkan using ash.
-
gfx-rs ecosystem releases v0.8
The closest thing to vulkan afaik is literally vulkan bindings, iirc I've seen the ash (https://github.com/MaikKlein/ash) crate recommended for that, but that is fairly unsafe.
-
Best Vulkan wrapper / low-level graphics library?
I would not recommend vulkano, I would recommend ash, most serious projects that are targeting only vulkan (ie not using gfx-hal), use ash. Vulkano makes some odd decisions and their build process is a pain, if it works in c++, you might not be able to get it to work in Vulkano. Ash has the same exact dependencies you would need in a C++ rust project (ie just the vulkan sdk on windows), and most low level conversion stuff to rust (enums) is already done.
egui
-
Can't decide on a programming language for multiple reasons
If you don’t mind just drawing into a rectangle (without native UI components), more options open up. There’s plenty of Rust libraries for just drawing into a buffer. Like https://github.com/emilk/egui, which does provide UI components, just not native one.
-
Implement both API and GUI?
Besides a browser based GUI you have many other options like egui, Iced etc. In this case you can still use HTTP for communication between your programs, but also sockets, and, if the programs run on the same machine, named pipes and shared memory (which is more efficient for sharing big data chunks).
-
Can I develop desktop apps with Rust without using a framework such as Tauri?
If you want to use separate codebases, then you might consider egui, iced or gtk-rs for the desktop part.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
egui: this is technically a GUI framework, but it supports arbitrary rendering through a simple api, and you can also access the underlying graphics APIs if you want to. The eframe crate makes it easy to make an egui window.
-
What's everyone working on this week (52/2022)?
A big thing keeping me on webview was accessibility - and with egui finally gaining AccessKit support, it spurred me into making some mockups, which I rather liked the look of.
-
Hey Rustaceans! Got a question? Ask here (52/2022)!
I'd recommend giving egui a try: https://github.com/emilk/egui/. It aims to be very simple to use, and the repo contains several examples.
-
Egui Web empty canvas, no errors.
I've opened an issue! on Github.
-
How do we set custom fonts in Egui?
The example is basically unchanged from 0.17 but now lives here: https://github.com/emilk/egui/tree/master/examples/custom_font
-
Rust: State of GUI, December 2022 – KAS blog
I can go into great detail here why but its beside the point. If you read my comment on the egui issue I linked above (same handle I use on HN) you may get an idea where I am coming from.
Most Human Computer Interface (HCI) guidlines for various platforms are based on typical late 90's early 2k desktop apps.
They were never updated to reflect on newer paradigmns for UX that evolved in recent years. Blame the fragmentation of the desktop and Electron & co.
IMHO this is the first problem the OS vendors need to solve before we can blame developers of UI libs to not make them look 'native enough'.
What are some alternatives?
iced - A cross-platform GUI library for Rust, inspired by Elm
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
druid - A data-first Rust-native UI design toolkit.
bevy - A refreshingly simple data-driven game engine built in Rust
sixtyfps - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
fltk-rs - Rust bindings for the FLTK GUI library.
gtk4-rs - Rust bindings of GTK 4
learn-wgpu - Guide for using gfx-rs's wgpu library.
Druid - Apache Druid: a high performance real-time analytics database.
wgpu-rs - Rust bindings to wgpu native library
orbtk - The Rust UI-Toolkit.