vizia
rustybuzz
Our great sponsors
vizia | rustybuzz | |
---|---|---|
9 | 9 | |
1,392 | 459 | |
3.7% | - | |
9.4 | 9.4 | |
6 days ago | 4 days ago | |
Rust | Rust | |
MIT License | MIT License |
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.
vizia
- Vizia: A declarative GUI library written in Rust
-
Looking for this. html + css rendering through wgpu.
All of these projects have in common that they use Taffy (the project that I work on!) for box-level layout (which currently gives them block, flexbox, and grid layout) , and are either using or planning to use cosmic-text for text/inline layout. This gives you a decent first approximation of web layout, but it's not perfect and there are major features like float, display: inline-block, position: static, box-sizing: content-box missing. Not to mention that none of these implementations currently resolve CSS selectors, so you are effectively limited to inline styles (if you're interested in something in that direction then you may be interested in https://github.com/vizia/vizia).
-
Ebou Released 🚀: A (mostly full featured) cross platform desktop Mastodon client written in Rust + Dioxus
Vizia is basically fine-grained reactivity with an Elmish twist, though I haven't used it, so I couldn't say how well it works.
- GUI development with Rust and GTK 4
-
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)
- Declarative UI Programming in Rust for Native Applications
-
Cosmic Text: Pure Rust multi-line text handling
I don't think it's actually merged into Iced yet. It is merged into https://github.com/vizia/vizia though.
-
Rust GUI framework
Vizia
-
lightweight gui for rust
I have recently learned about https://github.com/vizia/vizia and it looks very promising to me
rustybuzz
-
Cosmic: The Road to Alpha
Bit of a side note, but COSMIC depends on the rustybuzz text shaper which is deprecated: https://github.com/RazrFalcon/rustybuzz/issues/74. There was some work underway to bring it up to sync with the latest harfbuzz and then handing over ownership to the harfbuzz team, but this seems to have fizzled out.
- Cosmic Text: Pure Rust multi-line text handling
-
Is coding in Rust as bad as in C++? A practical comparison
I understand that this may sound harsh, but I also ported two (far bigger) codebases from C++ to Rust: rustybuzz and tiny-skia. Both of which are production -ready and not just prototypes. And mine not only do not use pointers, but also barely use unsafe in general.
-
Looking for good sources on incremental rewrites to Rust of portions of a C++ codebase. Is this a feasible approach?
You could also take a look at the history of this repository: https://github.com/RazrFalcon/rustybuzz
-
Is There An Algorithm To How Computer Cursors Highlight Text?
harfbuzz is a popular library for text rendering. You may also want to check out rustybuzz, a small subset of harfbuzz ported to Rust with pretty great documentation.
- Pixie – A full-featured 2D graphics library for Nim
-
Question: Expected webrender impact, or influence, on emacs redisplay
Use allsorts or rustbuzz for text shaping
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
-
Speedy2D: Easy-to-use library for graphics, text, and input events
Yeah Allsorts looks interesting, and rustybuzz is another option. I haven’t tried either yet, though.
What are some alternatives?
xilem - An experimental Rust native UI framework
fontdue - The fastest font renderer in the world, written in pure rust.
cosmic-text - Pure Rust multi-line text handling
Speedy2D - Rust library for hardware accelerated drawing of 2D shapes, images, and text, with an easy to use API.
floem - A native Rust UI library with fine-grained reactivity
swash - Font introspection, complex text shaping and glyph rendering.
gtk-fortran - A GTK / Fortran binding
allsorts - Font parser, shaping engine, and subsetter implemented in Rust
Azul - Desktop GUI Framework
ab-glyph - Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs
blitz - High performance HTML and CSS renderer powered by WGPU
raqote - Rust 2D graphics library