Our great sponsors
femtovg | webrender | |
---|---|---|
7 | 9 | |
25 | 2,995 | |
- | 0.9% | |
0.0 | 9.3 | |
over 2 years ago | 6 days ago | |
Rust | Rust | |
- | Mozilla Public 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.
femtovg
-
Bevy vector graphics library?
The problem with femtovg currently is, that it's based on OpenGL. There is a fork for wgpu already, but it's not up to date with master and I'm not sure how difficult merging will be.
- Is there an easy wrapper for wgpu?
-
Iced: A cross-platform GUI library for Rust, inspired by Elm
You guys should also check out the femtovg project, a 2D rendering API that sixty fps relies on.
https://github.com/femtovg/femtovg
It's a decent starting point for trying to build your own toolkit.
I have recently added a wgpu backend but for now it lives in my fork https://github.com/adamnemecek/femtovg
run the demo with `cargo run --example wgpu_demo --release`.
Also join the femtovg discord https://discord.gg/V69VdVu
-
Good GUI toolkit/library recommendations needed
It's not a GUI framework but I'm involved with this project called femtovg, it's a Rust nanovg port. I've recently added a wgpu backend. Run the demo with cargo run --example wgpu_demo --release. Some people have been using it for their own UIs, e.g. tuix. I think that you should consider rolling your own GUI toolkit, it's not that bad and you'll appreciate the control.
-
Electron vs. Qt for a new open-source file organization project
I have been recently rolling my own Rust GUI framework using this rendering crate I’m invovled with https://github.com/femtovg/femtovg and I’m pretty happy with it.
I recently added a wgpu backend https://github.com/adamnemecek/femtovg.
Combine that with the Flutter layout (check out the Druid implementation), and you have a GUI framework.
-
Is Pathfinder (the graphics library) still being developed?
I added a wgpu backend not too long ago, it’s in my fork for now femtovg.
-
SixtyFPS v0.0.6 (GUI Toolkit in Rust): Now with IDE Support
SixtyFPS is a project started by Simon Hausmann and Olivier Goffart who previously worked on Qt at Trolltech.
SixtyFPS is the first project with a company behind it which uses femtovg, a Rust nanovg port. https://github.com/femtovg/femtovg.
Recently, we've added an experimental wgpu backend which is for now in my fork of the project https://github.com/adamnemecek/femtovg
webrender
-
AvaloniaUI: Create Multi-Platform Apps with .NET
This source code:
https://github.com/servo/webrender/blob/master/wr_glyph_rast...
suggests to me that the glyph rasterization (which is the CPU-limiting factor for text rendering) in WebRender (which is the new FF 93+ GPU-accelerated rendering engine) is implemented in Rust and to be run on CPU.
-
Is RUST a good choice for building web browsers?
Both Servo and Fifefox make use of webrender, which is an awesome piece of tech and is well suited to render a web page. Some GUI projects attempted to use webrender directly as well, like Azul and moxie-native
- macOS Apps in Rust
-
What is the best way to handle 2D graphics programming using Rust?
Surprised noone mentioned https://github.com/servo/webrender
-
Learning rust as a python developer
Firefox article outlining which parts use Rust https://wiki.mozilla.org/Oxidation#Within_Firefox Servo/WebRender, the 2d renderer used by firefox: https://github.com/servo/webrender
-
Releasing Dioxus v0.1 - a new Rust GUI toolkit for Web, Desktop, Mobile, SSR, TUI that emphasizes developer experience
Hi, what do you think about using webrender instead of wry on desktop? That is, instead of a full featured browser, just the bare minimum to render the DOM.
-
Rust: Does the published crate match the upstream source?
This is in the context of rust.
> it adds a line to a `go.sum` while with a hash of the code at the version specified
Cargo.lock also contains a checksum
> You can distribute your code without a copy of the dependency
Also true in rust, and the default way of using rust.
> If the hashes are different, an error is thrown.
Also true in rust.
For an example of what this looks like: https://github.com/servo/webrender/blob/54b725be37f13b166946...
You haven't described anything different between go and rust in your comment since every feature you've pointed out applies equally to both.
-
Iced: A cross-platform GUI library for Rust, inspired by Elm
Yes! This is because web browsers use the platform text input stack
Browsers are a great example of cross-platform UI, because they sprinkle platform-native widgets throughout the canvas that they render. Which reminds me that people were trying to use webrender[1] to build native apps in Rust.
[1] https://github.com/servo/webrender
-
Browser be slow
What more can be done, besides site isolation and ASLR+DEP? Oh wait, Mozilla rewrote the damn renderer in a better language than C(++), that seems like a good way to prevent issues.
What are some alternatives?
Slint - 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]
wry - Cross-platform WebView library in Rust for Tauri.
pathfinder - A fast, practical GPU rasterizer for fonts and vector graphics
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
accesskit - UI accessibility infrastructure across platforms and programming languages
bubbletea - A powerful little TUI framework 🏗
iced - Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for Rust, .NET, Java, Python, Lua
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
rend3 - Easy to use, customizable, efficient 3D renderer library built on wgpu.
femtovg - Antialiased 2D vector drawing library written in Rust
moxie - lightweight platform-agnostic tools for declarative UI