• jaybone@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    11 days ago

    I haven’t learned rust, so this is super prejudiced but just from glancing at some code it looks like it has the terse unreadability of Perl/python plus the strict inflexibility of a strongly typed compiled language. But I heard somehow you can’t grab passwords from memory locations, somehow.

    • I think it’s because Rust doesn’t use pointers, so you can’t target random memory locations? I like that it’s explicit as a language and I think I understand how it handles dependencies, but man am I bad at learning the basics before jumping in head first.

      With Python you can get a cludge working for you pretty quickly, but in Rust you kind of need to understand what’s happening all the time.