• loops@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    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
      13
      ·
      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
          3
          ·
          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.

          • mundane_party@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            I could be wrong, but based on the Wikipedia article it seems like it’s more trying to be a python replacement than a rust/c++/Java/etc replacement. The big thing with rust is that it’s rules allow memory safety without a garbage collector, while unless I missed something it seems like nim just uses a garbage collector. Not that that’s necessarily some huge problem or anything, but you know, different purposes

          • qaz@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            1
            ·
            1 year ago

            I think it transpiles to C so theoretically it could be quite fast, but I doubt the generated C is as fast as manually written C or Rust.