←back to thread

399 points TaurenHunter | 1 comments | | HN request time: 0.207s | source
Show context
GenericCanadian ◴[] No.42190317[source]
I wrote https://taintedcoders.com/ for anyone looking for an introduction to Rust game development with Bevy.

Bevy is still early, but the sweet spot right now is simulations. It's particularly weak in its UI, but that's the coming focus for getting the editor built.

If anyone needs ideas, making [boids](https://slsdo.github.io/steering-behaviors/) in Bevy is a great weekend project.

replies(3): >>42191274 #>>42191668 #>>42191888 #
prox ◴[] No.42191888[source]
Can I also use Rust to build UI / window / data heavy apps? I am webdeveloper mostly so looking into other avenues right now.
replies(2): >>42192068 #>>42195138 #
trissi1996 ◴[] No.42192068[source]
Sure, there's "native" UI with stuff like slint(QT-like) or iced(system76 is actually building the COSMIC linux desktop environment with this).

And you can also get an electron-like stack going, that is actually much less bloated than "normal" electron, by using tauri-webview, which uses the OS-provided webview and combining it with one of the many cool rust WASM-based reactive web-ui frameworks, like leptos or dioxus. This gets you compiled sizes of ~10s of MB compared to electrons 100s of MBs.

There's also bindings to a lot of traditional ui libs, like GTK, QT & Tk.

I'm currently going for the 2nd option (with leptos for the web part) as I'm used to the web-stack and am very productive with this approach, but native UI also seems very tempting to dig into further.

Some related links:

- https://www.arewewebyet.org/topics/frameworks/

- https://areweguiyet.com/#ecosystem

replies(2): >>42192199 #>>42192898 #
1. prox ◴[] No.42192898[source]
Hey that is really cool thank you. I have Sublime as my IDE, and it looks like I can use that as well, and using a webview might leverage my understanding of webtech.