• loops@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    What are the last two? I know Python and C, but haven’t seen the last two.

    • pollocks@lemmy.ml
      link
      fedilink
      arrow-up
      18
      ·
      1 year ago

      The third one is rust which has become a meme at this point. Programmers like it because it has almost as much performance as C but has a lot of safeguards preventing memory errors and vulnerabilities. I have no idea what the last one is tho

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          I’m pretty skeptical it could be as fast and safe as Rust without the added challenge. Like, even doing what Rust did was a big deal.

          • potatoBoy@programming.dev
            link
            fedilink
            Afaraf
            arrow-up
            1
            ·
            11 months ago

            Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C

            And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)

            • CanadaPlus@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              11 months ago

              Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C

              Technically, it all compiles to assembly, but Python is still a lot slower than C or Rust. Speed is lost along the way through those layers of abstraction.

              And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)

              So it doesn’t have a garbage collector? I’m going to have to actually look into this myself.