107
submitted 7 months ago* (last edited 7 months ago) by 1984@lemmy.today to c/rust@programming.dev

This was a really good summary of what Rust feels like in my opinion. I'm still a beginner myself but I recognize what this article is saying very much.

The hacker news comments are as usual very good too:

https://news.ycombinator.com/item?id=40172033

you are viewing a single comment's thread
view the rest of the comments
[-] sugar_in_your_tea@sh.itjust.works 0 points 7 months ago

I don't think there's a problem whatsoever. Rust just isn't a great choice for projects that need to iterate quickly. People online claiming that's not the case doesn't change that fact.

If you need fast iteration time and can sacrifice memory safety, use a scripting language. I like using Lua within Rust for this reason, I can iterate quickly and move expensive logic that's not going to change much to a Rust lib.

OP should've known this, they had experience already writing games, they just ignored the truth because some neck beards told them to. It's okay to ignore people on the Internet when they're wrong.

[-] crispy_kilt@feddit.de 2 points 7 months ago

Sounds to me like people are using the term "iterate quickly" to really mean "we don't understand the problem space and we have little usable requirements"

I agree, for "exploratory programming" Rust takes more time. To hack out quick prototypes I'd use Python.

[-] sugar_in_your_tea@sh.itjust.works 2 points 7 months ago

And in game dev, a lot of what you're doing is exploratory:

  • not sure what heuristic to use for pathfinding
  • balancing game mechanics
  • tuning enemy AI
  • tweaking shaders

Requiring a rebuild for each of those would take too much time.

[-] crispy_kilt@feddit.de 1 points 7 months ago

Makes sense! I must admit I have zero experience in that area.

[-] sugar_in_your_tea@sh.itjust.works 2 points 7 months ago

I'm just a hobbyist myself as well, but i've talked to actual professionals in the field, so i'm pretty sure that's general wisdom.

this post was submitted on 27 Apr 2024
107 points (96.5% liked)

Rust

6041 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS