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

Rust

6030 readers
1 users here now

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

Wormhole

[email protected]

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
107
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/rust
 

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
[–] sus 2 points 6 months ago (1 children)

You can, of course. And if you're good enough at it, and focus on keeping it simple, you can keep the complexity down to a minimum, at least with most straightforward programs.

Buut you can say the same about other complicated languages like c++. And things like writing quick "shell script" type things are going to be pretty simple in almost every decent language. Even if the result is slightly more verbose it won't really matter.

[–] [email protected] 4 points 6 months ago (1 children)

For me the biggest difference between Rust and C++, for things like scripting, is cargo. Being able to just add an awesome parser, or support for a particular file-format, to my "script" with a single line in cargo.toml is awesome. In this particular way cargo is better than Python even. The amount of time spent on acquiring, setting up, and linking libraries in other languages cannot be understated.

[–] sus 4 points 6 months ago

yeah rust along other new languages takes package management (and some other "hard learned lessons") seriously, which gives it an advantage over most older languages (and it's ahead other newer languages in that there is a serious amount of adoption for rust.. a package manager that has no packages to manage is not very useful)