• Captain_Stupid@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    5 months ago

    Image working in an old building, there is no coffee machine, there is no warm water and if you want to do something new, chances of you getting in trouble because you forgot to mess with CMake or free memory, are high. But the building works since it has been tested for 30 years.

    Rust is a new building that you can move over to, there is a coffee machine that is a bit complicated at first but once you understand it it is that bad, there is warm water and you don’t have to mess with CMake or allocate/free memory for everything. But the building is new, there will be issues here and there and sometimes the promised warm water wont work since someone fucked it up, but in general it is just sooooo much more comfy to work in.

    Rust is not about making Programming languages fast or memory safe. If you truly want to do that, I recommend doing crack and writing in assembly. It is about making programming easier without sacrificing speed.

    • BarfSqelcho@lemmy.world
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      5 months ago

      I agree with you completely, but good god man, if you’re going to use a metaphor stick with it.

      • Matty_r@programming.dev
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        5 months ago

        OK, imagine youre in a new car and youre like hmm donuts are good. But you know that when flight was first discovered it was scary, then after all that scares you knew it was worth while running the distance. Sometimes you gotta know when to fold em.