Most active commenters
  • Tmpod(3)
  • rubymamis(3)

←back to thread

399 points TaurenHunter | 14 comments | | HN request time: 0.413s | source | bottom
1. 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 #
2. kookamamie ◴[] No.42191274[source]
While Bevy might be the hottest thing in the Rust gamedev scene, Tiny Glade didn't use it for rendering purposes - AFAIK only the ECS was used from Bevy.
3. Kiro ◴[] No.42191668[source]
> but the sweet spot right now is simulations

What kind of games are you referring to?

replies(1): >>42191702 #
4. pdpi ◴[] No.42191702[source]
Not so much games proper, but more like scientific computing visualisations, CAD, stuff like that.

This interview talks about it in a bit of length: https://youtu.be/PND2Wpy6U-E

5. 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 #
6. 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 #
7. Tmpod ◴[] No.42192199{3}[source]
I can personally vouch for Slint. The DSL is very pleasant to work with, it's still evolving (and the devs are very active and responsive), tooling is also getting better and better each release and it supports translations and accessibility already (through AccessKit). I've been (veeeery) slowly working on a Matrix client with it and I've quite enjoyed it so far.
replies(1): >>42192842 #
8. rubymamis ◴[] No.42192842{4}[source]
I'm also developing a chat client (tho for LLMs) using QML. Here's a little video showcasing it: https://custom-downloads.s3.us-west-2.amazonaws.com/chat_cli...

Still, very much in its infancy.

The backend is currently C++ but I'm considering using other languages since there are so many bindings (Mojo is on my radar).

replies(1): >>42194456 #
9. prox ◴[] No.42192898{3}[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.
10. Tmpod ◴[] No.42194456{5}[source]
Looking really good so far, keep it up! Is the source available somewhere I could take a peek? o.o
replies(1): >>42196295 #
11. 01HNNWZ0MV43FF ◴[] No.42195138[source]
Tauri 2 is quite good. It even builds for Android now
12. rubymamis ◴[] No.42196295{6}[source]
Thanks! Unfortunately not, it's been too hard for me to monetize FOSS projects, so it's going to be closed source.
replies(1): >>42204920 #
13. Tmpod ◴[] No.42204920{7}[source]
Very understandable, it is indeed quite hard :(

Best of luck! I'll keep an eye on it ;)

replies(1): >>42211523 #
14. rubymamis ◴[] No.42211523{8}[source]
Thank you! I'll keep en eye on Eigen too! I'm curious how it will work out with Slint.