by claytonwramsey on 1/5/25, 6:44 AM with 68 comments
by indy on 1/5/25, 9:46 AM
Apart from that exception, Rust game development seems more about releasing half baked crates than actual games
by yodsanklai on 1/5/25, 10:22 AM
So far, I find the language design not super elegant. There are restrictive ownership rules, which are fine, but then a myriad of data structures that let you circumvent these rules. It feels somewhat ad-hoc.
Regarding pattern-matching and enum types, I can see why a C++ programmer is impressed with such constructs, but it's really underwhelming for an OCaml/Haskell programmer.
That being said, C++ is hard and complex and it's refreshing to be able to use a more modern language. Assuming you're certain you can't live with the performance overhead of a GC, Rust fills a gap, but it doesn't seem it's the end of the story. I even wonder if it's necessarily a better choice than modern C++ for someone starting a new project.
by galleywest200 on 1/5/25, 7:00 PM
https://docs.godotengine.org/en/stable/tutorials/scripting/g...
C++ is official, with community support for D, Go, Haxe, Rust, and Swift.
by purple-leafy on 1/5/25, 9:15 PM
Current implementation/s are both in C, only ~500 lines of poor code.
I tried a refactor and broke my ray-caster lol, C has been a blast but so many footguns man.
Heres the repo/s
[0] - https://github.com/con-dog/sdl-test/blob/main/README.md
[1] - https://github.com/con-dog/sdl-textured/blob/main/README.md