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
-
Its syntax is mediocre, sure, but it's overall better than C and C++. Rust succeeds those two languages in the way Scala succeeded Java.
Is it better in terms of ease of use? No.
Is it better in terms of more abuse-proofing and noob-proofing by introducing immutable values and functional programming concepts? Yes. -
Rust's syntax is definetly hard to get around
Although I felt the exact same way about C++ when I started to learn that coming from C#.
>And I feel like the sadistic rust cult members actually enjoy making it hard to read so that they can jump on any occasion to shout at you : you still lacking rustlang skills
These kinds of people are genuienly a problem. I've seen a lot in C++ and also some in Rust. Don't listen to 'em.
A good tool/language/ecosystem will actively try to make the user experience a good experience. Especially for newcomers.
I find that Rust generally does this well. The documentation I've worked with was always clear and concise. -
@devRancid from my own experience Rust+Cargo will be a much better building experience than I had with C++ & CMake.
Your build file is just a small Rust file, not an entirely new scripting language, it actually gives you meaningful error messages instead of unreadable gibberish, it is reasonable fast WITHOUT you going out and "optimizing your build time" by forward declaring everything because we're still stuck with a pre processor from the stone ages.
Granted, C++ 20 modules kind of fixes a lot of the pain you get in that ecosystem, but Rust is just so nice to use. -
helnux1961y@aviophile replacing C++;
Lot of languages have made that bold claim but so none managed.... -
For what it does, it does well. I don't particularly love the syntax, that is for sure, and I have gotten some major setbacks trying to experiment with it for game development, the borrow checker definitely takes a while to get used to.
I still don't like it for what I need to, and unless it catches up for the standard used in MY area at least: I will continue to use c++, shit ain't that hard -
jassole18541yI did same the share thoughts initially. But the trick is to abuse it than treating it as your girlfriend. Just use the work of open source devs, that think they are doing a great work but for free.
While we are being rich off of them. Encourage them so they do more free work. xD -
Voxera113881y@helnux Rust have managed to make its way into the linux kernel.
Its not going to replace C and C++ quickly and it might not be the sole replacement.
Its also possible that over the next decade that C++ evolves to integrate enough new features for more stable code and memory management to never really be replaced, but Rust still proved that you could have memory safety and speed without garbage collection, and that is an achievement. -
sleek34481yu need a second college degree after the computer science one just to be able to use that language
-
@helnux none of them reached the numbers of Rust though, Last I checked it was 7% for all devs.
Ok Rust help you write robust safe code and is very fast.
But at what cost ?
But why on earth the syntax is very disgusting. It takes time to familiarize with the horrible syntax.
And I feel like the sadistic rust cult members actually enjoy making it hard to read so that they can jump on any occasion to shout at you : you still lacking rustlang skills
Fuck that shit I'd rather write in golang or just deal with C++ . At least their syntax doesn't make me wanna puck
rant