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
-
I want to learn it, but I'm prioritizing... I figure I should learn Java first, unfortunately.
-
@macleod Good question! I felt the same way until I started. I like it because it allows you to do really low level stuff while still feeling like a high level language with recognisable syntax. Plus it doesn't let you compile until you fix your code so it is very safe. Additionally it is very fast, and it will only get faster.
-
@MauriceDynasty Is the syntax as cryptic as C++. I don't know C++ and it all looks like someone spilled bag of +, <, and > shaped glitter on it.
-
@sheeponmeth it looks weirdly similar to pythons syntax e.g. rust:
if 2 > 1 {
// do stuff
}
python:
if 2 > 1:
#do stuff
and it is the same with while loops and for loops, only it runs ridiculously faster I have looked online and it seems to be about 800 times faster, so if it would take 8 seconds to run something on python then it would take roughly 0.01 seconds on rust. although that is an unfair comparison they were both meant for different things I am just using it as a gage -
@MauriceDynasty Python is my strongest language, so I can deal with that. I'm not particularly strong in Python, but it's my strongest, hah.
-
bkrem12738ySo why choose Rust over Go is the question for me right now. Go has that same feel of letting you do low level stuff on an as-needed basis
-
@bkrem well go uses automatic garbage collection whereas rust allows safe manual memory management. rendering go as pretty useless for really low level stuff like OS development and making web browser's. and places where memory management isn't needed there is already countless other languages that are just as fast for the job.
-
bkrem12738y@MauriceDynasty @MLK79 Yeah everyone brings the Generics argument to the table when Go is mentioned, opinionated matter. I didn't know about the auto vs manual mem mgmt though that's a real use case factor I see that.
Related Rants
Definition of C++: super fast language with lots of problems.
Definition of Rust: C++ without all the problems, an awsome package manager and community made of real people!
undefined
rust > c++