slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.65k stars 608 forks source link

Questions regarding this project #838

Closed Raj2032 closed 2 years ago

Raj2032 commented 2 years ago

Hey guys I have some questions regarding this project:

  1. Is it retained, or immediate or a combination of both (like iced GUI library does?)
  2. Is it backend agnostic like egui is?
  3. Which library has a more performance overhead if animations is involved, sixyfps or egui?
  4. Am I able to really design exactly how I want my UI to be designed, for example like this:

image

?

  1. Does it lock you into some kind of framework, for example like how iced does or the bevy game engine does it with their ECS model or can I code more freely like fltk-rs (here is their code sample)
use fltk::{app, prelude::*, window::Window};

fn main() {
    let app = app::App::default();
    let mut wind = Window::new(100, 100, 400, 300, "Hello from rust");
    wind.end();
    wind.show();
    app.run().unwrap();
}
Raj2032 commented 2 years ago

Closing as I posted in discussions