Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Rust is my favorite language by far, almost every time I use a different language I miss some feature from Rust.
However I will be the first to admit that Rust can be utterly frustrating while learning it. The super strict compiler can be really helpful, but first you have to understand its error messages... -
@Fast-Nop rustc's error messages have been getting better and better with each release, and right now it's fairly decent at telling you what's wrong.
I like to think of it as a pedantic but well-meaning code reviewer, it's a safety net that I'm glad to have.
There's always unsafe Rust if you're sure what you think is right but the compiler isn't accepting it. -
@RememberMe I prefer the "you ordered it, you get it" from C. Cranked up to maximum warning level of course. And I do a lot of pointer heavy code without issues, not even in multi-threading.
-
@tekashi Safe, fast and I really like it's non-object oriented nature. It makes perfect sense why they didn't include classes like in other languages.
I can't say it is easy language, but once you get it, it makes your life easier. -
@Fast-Nop I prefer the "be restrictive by default but still give ultimate control to a user if they so desire" style of Rust and Haskell and all (unsafe Haskell is a thing too). I like the strict structure of static analysis and type heavy languages, it's just more pleasing. Personal taste I guess.
-
One thing I can definitely say is how much I dislike the syntax of Rust. Language seems powerful enough, just not too sure how it is supposed to dethrone something like C or C++ from their respective place in embedded systems development.
I also have literally no reason to justify learning Rust for anything other than academic purposes -
@AleCx04 Odd, the syntax is one of the things I like a lot. Well, aside from lifetime parameters, those things will always be ugly.
But just look at pattern matching or the ? operator, it's fucking amazing. -
@deadlyRants it happens man and I am pretty sure that if i spend some time with it i would appreciate it more, guess i should give it a second go
i could pretty much write a book of rants about rust at this point
rant