• riodoro1@lemmy.world
    link
    fedilink
    arrow-up
    30
    arrow-down
    7
    ·
    6 months ago

    All those memes picturing C++ as unsafe and unstable yet the server that serves these memes is running mostly C/C++ and has an uptime of months.

    • arc@lemm.ee
      link
      fedilink
      arrow-up
      28
      arrow-down
      1
      ·
      6 months ago

      Lemmy is written in Rust. There might be bits of C at the periphery behind bindings.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      6 months ago

      True, but that’s partly because the Linux is beyond mature, and you can ferret out a lot of bugs with millions of users over decades.

    • AMDIsOurLord@lemmy.ml
      link
      fedilink
      arrow-up
      14
      arrow-down
      2
      ·
      6 months ago

      Also they’re always treating C++ like it’s some arcane enterprise variant that uses 1990s C++

      Using modern C++ you can write much cleaner, more usable, and really safe code

      • riodoro1@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        Having a thorough process and an engineer approach in software development is also pretty handy. There weren’t many bugs in the AGC. Yet it was programmed mostly in assembly and people had no trouble trusting it with their life.