3 ms·
If you are looking for a non-web-based cross-platform GUI in rust, check out EGUI. It has an easy-to-use API, good docs, runs fast, and can integrate with 3d gr
by the__alchemist 3y ago
If you are looking for a non-web-based cross-platform GUI in rust, check out EGUI. It has an easy-to-use API, good docs, runs fast, and can integrate with 3d graphics, maps etc.
> By being built on Rust, Tauri is able to take advantage of the memory, thread, and type-safety offered by Rust. Apps built on Tauri can automatically get those benefits even without needing to be developed by Rust experts.
How much of this is mitigated by being web-API-based?
- fs0c13ty00 3y agoAt least it is a mile better than the abomination named Electron. Each Electron app has both Chromium and NodeJS bundled. Tauri only use platform-specific webviews, and Rust is a compiled language with no GC and no runtime.
- the__alchemist 3y agoThat sounds like a significant advantage.
- stavros 3y agoDoesn't using platform-specific webviews mean you get inconsistencies between OSes?
- fs0c13ty00 3y agoYes, it does suck sometimes, but for UI then your frontend framework should work all the same 99% of the time. If your app is related to audio/video playback or you want to use newer features of Web standard such as webGPU, then it will be trickier. Source: I'm developer of https://github.com/tranxuanthang/lrcget https://github.com/tranxuanthang/lrcget
- stavros 3y agoAh, good point about the frontend framework, you're right. Thanks!
- DANmode 3y agoOnly if relying on the browser/renderer's opinion on layout.
- Klonoar 3y agoegui works for things where you can get away with non-standard-OS behavior and/or are fine with immediate mode. Quite a few projects are not under this umbrella. > How much of this is mitigated by being web-API-based? Tauri makes it much easier to use the web side only for presentation and defer almost everything else to the Rust side. The web browsers themselves are pretty well sandboxed all things considered.
- jenadine 3y agoDoes it work on mobile?