rust-skia
slint
rust-skia | slint | |
---|---|---|
7 | 138 | |
1,326 | 15,103 | |
2.5% | 2.5% | |
9.4 | 9.9 | |
5 days ago | about 23 hours ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 Or Slint Royalty-Free |
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.
rust-skia
-
Integrate with Skia GL
The only example that shedded some light on the integration was gtk4 + femtovg. So I mimicked the example, using gtk4-rs and Skia's rust bindings. I had some code similar to the following inside a subclass of GLArea to setup Skia's DirectContext, but it failed:
-
A simple 2d graphic library
Checkout rust-skia.
-
Recommended UI framework to draw many 2D lines?
Skia (https://github.com/rust-skia/rust-skia) which I think does a mix of software and gpu rendering
-
Dioxus: User interfaces that run anywhere
I‘d probably look into Skia first, it also drives Flutter. https://github.com/rust-skia/rust-skia
- Add WebAssembly support to skia-rust
-
Most effective way to be ready for 2D graphics?
I have been looking around for a suitable vector graphics library to use. My short list is: skia-safe, skulpin, nannou, and cairo.
-
Question: Rust as centralized place for platfor and framework agnostic business logic. Is this possible?
Flutter uses skia which implements a common API for all these GPU rendering backends. Maybe rust-skia is a good fit for your needs, but be prepared to lose lot of the time you saved by using a single codebase into coding your common UI framework :P
slint
-
Ask HN: Why would you ever use C++ for a new project over Rust?
Did you get a chance to check https://slint.dev?
Disclaimer: I work for Slint
-
Deno in 2023
Currently, we do it by using binaries through napi-rs so we can bring in a window using the platform native API. And then we do some hack to merge the event loops.
But if Deno supports bringing up a window directly, this means we can just ship wasm instead of native binary for all platform. And also I hope event loop integration will be simplified.
Although we'd also need more API than just showing a window (mouse and keyboard input, accessibility, popup window, system tray, ...)
[1] https://slint.dev
-
Slint GUI Toolkit
Rich Text content is not yet implemented. This is tracked in https://github.com/slint-ui/slint/issues/2723
Thanks for reporting the broken link. Fixed in https://github.com/slint-ui/slint/commit/9200480b532f49007d2...
-
slint VS rinf - a user suggested alternative
2 projects | 24 Jan 2024
-
A 2024 Plea for Lean Software
With Slint (https://slint.dev) we're trying to make a lightweight toolkit that doesn't use HTML/CSS. And that you can program either from low level languages such as C++ or Rust. As well as with higher level language such as JavaScript, and we want to extend to python too.
-
Immediate Mode GUI Programming
I haven't. I was just searching for a GUI library that was Bevy-compatible and slint isn't at the moment: https://github.com/slint-ui/slint/discussions/940
Sorry!
-
Why the M2 is more advanced that it seemed
Trying to do that with Slint: https://slint.dev
- 9 years of Apple text editor solo dev
-
The Linux graphics stack in a nutshell, part 1
You can do that with Slint (https://slint.dev) and its linuxkms backend. No need for a xorg server or wayland compositor, just run the application made with Slint from the init script.
- Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
What are some alternatives?
nannou - A Creative Coding Framework for Rust.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
filament - Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
iced - A cross-platform GUI library for Rust, inspired by Elm
vulkan-tutorial-rs - Vulkan tutorial written in Rust using Ash
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
Skity - A light weight 2D Vector Graphic renderer library writing in c++ for OpenGL3.3+ / OpenGLES3.0+ / Vulkan 1.1+/ WebGL2 with WASM
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
skulpin - Skia + Vulkan = Skulpin
cxx-qt - Safe interop between Rust and Qt