• jimmy90@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    2 days ago

    that’s odd most people praise rust for being incredibly easy to install and build any project with rustup and cargo

    you can do remarkably sophisticated things using a few crates, simple data structures and types and at C speeds or faster

    i think you’re wrong

    • zygo_histo_morpheus@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      2 days ago

      Rust allows you to create more powerful abstractions, which can allow you to express your intent in a clearer way. C code can feel like you’re bogged down by details all the time. C is on the other hand a smaller language, so just getting to the point where you “know” the language is a lot easier.

      • jimmy90@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        2 days ago

        both C and Rust have learning curves that get steep after the initial trivial stuff

        with C as soon as you’re in array/string/pointer land, you’re in a world of seg faults

        you can get so much more done as a beginner in Rust before you get anywhere near dealing with ownership or creating advanced generics