softbuffer
winit
Our great sponsors
softbuffer | winit | |
---|---|---|
6 | 48 | |
252 | 4,315 | |
10.7% | 6.6% | |
8.2 | 9.7 | |
10 days ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 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.
softbuffer
-
How do rust gui frameworks avoid rerendering?
On a more recent machine, that same (well, more primitive) app with pixels or softbuffer struggled beyond acceptable. But was definitely poorly written.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
I'm using winit and softbuffer for my CurrentProject™.
-
Which OpenGL crate should I use?
Another annoyance is that it's not possible to have flicker-free resizing with wgpu without completely killing the performance. OTOH, softbuffer resizing never flickers.
-
What 2D graphics library would you most recommend?
Why not minifb or softbuffer (which lets you use winit)?
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
Hey Rustaceans! Got a question? Ask here! (24/2022)!
I have decided that wgpu is not worth it, and gone to softbuffer, which does not stretch, and works a whole lot better. Downside: no GPU and no scaling support.
winit
-
Linux version of Warp terminal is here
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.
- Container2wasm: Convert Containers to WASM Blobs
-
Hey Rustaceans! Got a question? Ask here (28/2023)!
Have you seen the official example?
-
Hey Rustaceans! Got a question? Ask here (20/2023)!
That's a bit shortsighted given that there is an active discussion about reducing the interior mutability.
-
XUL Layout has been removed from Firefox
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]
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?
Window manager: https://github.com/rust-windowing/winit
- [Media] A GUI installer for redox is coming soon, written in iced!
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
I'm using winit and softbuffer for my CurrentProject™.
- Rust GUI library for video playback?
What are some alternatives?
rust-sdl2 - SDL2 bindings for Rust
wgpu - Cross-platform, safe, pure-rust graphics api.
learn-wgpu - Guide for using gfx-rs's wgpu library.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
raw-window-handle - A common windowing interoperability library for Rust
minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
piet-wgpu
text-editors-written-in-rust
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).
deno_sdl2 - SDL2 module for Deno
rust - Empowering everyone to build reliable and efficient software.