15

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!

Comments
  • 4
    I want to learn it, but I'm prioritizing... I figure I should learn Java first, unfortunately.
  • 2
    Why do you like Rust so much? Been trying to understand its appeal.
  • 1
    @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.
  • 1
    @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.
  • 1
    @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
  • 2
    @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.
  • 1
    So 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
  • 1
    Welcome to devRant fellow rustacean :D
  • 4
    @bkrem From my limited experience, I'd go with pattern matching and generics. Two things I just can't get enough of.

    Heck, my disdain for Java mostly comes from the lack of reified generics.
  • 2
    @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.
  • 1
    @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.
Add Comment