• mox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    50
    arrow-down
    2
    ·
    11 days ago

    With no context, this could be an honest attempt to learn about different tools, a thinly veiled set-up to promote a specific language, or an attempt to stir up drama. I can’t tell which.

    It’s curious how such specific conditions are embedded into the question with no explanation of why, yet “memory safe” is included among them without specifying what kind of memory safety.

    • Buttons@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      11 days ago

      The question mine as well be “what is your favorite compiled language?”. There is a lot of overlap between the possible answers.

    • AbelianGrape@beehaw.org
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      Yeah, I like subleq.

      • compiler is extremely fast, faster even than tinycc
      • strongly statically typed: all values are ints. Since it’s all of them, you don’t even need to write it!
      • memory safe: the entire (virtual) address space is guaranteed to be accessible at all times so there’s no way to leak any of it (can’t release it anyway) or to segfault (it’s all accessible).

      Subleq is the obvious winner in my mind.