emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
22.35k stars 1.61k forks source link

Build and run success out of the box on XeroLinux (Arch-based) #2092

Open omac777 opened 2 years ago

omac777 commented 2 years ago

Last night I installed the default XeroLinux on a new ssd.

Within the rust install, I selected customize, nightly, default, proceed.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Clone and build. It's impressive because XeroLinux had all the pre-requisite packages already installed and the cargo build less than 2 minutes. For an entire gui infrastructure to build all that's stunning. egui deserves great praise from the Rust community.

git clone https://github.com/emilk/egui.git
time cargo build --release -p egui_demo_app

It's also impressive at launch since it was snappy to display the native gui:

time cargo build --release -p egui_demo_app
omac777 commented 2 years ago

There's a lot of eye candy to impress different crowds, the plots and tables for data analysts. The touch support and bezier support for drawing/animation/visualization developers. The input controls for the database programmer crowds. gpu support and web assembly support for backend computing and web services crowd.

I admit seeing all the examples' code bundled into one big demo was overwhelming and confusing to be getting inspiration from. Please consider creating separate window examples for each panel within the demo app in order for coders to more easily adopt and learn the different capabilities. You can place all the different example panels into separate target window binaries within the one "cargo workspace" resulting in roughly about the same total compilation time as you have now. Thank you for listening.