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 thread.
View all comments View context
2 points

I’ve worked in game dev so I get the point about iteration. It’s not about doing proper reactors - it’s about quick hacks to try something out. When your hack is good, then you do it properly - or maybe not at all if the hack works.

The respondents here are acting like code must be at all times provably correct and and Rust is great because it helps with that. That is indeed very cool but it’s SLOW when you need quick iteration. It’s not that you need to quickly iterate the code per so, it’s usually the game experience you’re iterating and that doesn’t actually NEED code to be perfect or even good.

permalink
report
parent
reply
4 points

Ive used Rust professionally for six years now and have done many quick hacks. It is really easy to do. Basically just don’t use references / clone everything to avoid lifetime and ownership issues, and use unwrap everywhere to avoid proper error handling. It’s really that easy almost all the time.

The nice thing about that is once you’re done with the prototype, just remove the unwraps and you can optimize stuff by removing the clones.

permalink
report
parent
reply
2 points

Well perhaps my experience in game dev and the OP’s are just wrong

permalink
report
parent
reply
-1 points
Deleted by creator
permalink
report
parent
reply
1 point

@kaffiene @asdfasdfasdf Its slow when you dont know what youŕe doing. For example, build a linked list in #rustlang is different then build one in java, because you can´t leave the variables in a wrong state. It’s only a different approach, not a slow approach.

permalink
report
parent
reply
2 points

OK. I’m dumb. There are dozens of languages where I appear to not be dumb using so I’ll stick to them I guess

permalink
report
parent
reply
1 point

That’s a sad attitude to have. Rust is really great, but it does have a learning curve. If you do want to give it a shot, just reach out online and there are many people who can help with suggestions.

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

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)

Community stats

  • 500

    Monthly active users

  • 890

    Posts

  • 3.9K

    Comments