• AllNewTypeFace@leminal.space
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    “Hand-written assembly” is not more powerful than any other Turing-complete language (including Perl and Python), just more painfully slow and prone to human error to write. (Perhaps if you have a special case requiring speed (such as the processing being done in a tight loop in a financial trading app and the results needing to beat rival trading systems by milliseconds or something equally esoteric), it’d make sense, but in that case, a modern compiler (for, say, C/C++/Rust or similar) would yield comparable results, and if a lot is riding on those milliseconds, you’d eschew code and build a FPGA that pulls the data out of memory buffers in hardware or similar.)

    So these days, the only use case for hand-writing assembly language (other than low-level OS/firmware programming or compiler development) is performative Feats Of Strength, where the challenge is the point. And in that case, you’d be trying to do something heroically challenging, like writing an Atari 2600 demake of Baldur’s Gate or something.

    • stingpie@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Hand written assembly is much more powerful than a turing-complete high level language because it lets you fuck up everything. Rust and python are way too wimpy to allow a user to destroy their computer.

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        Should they be more or less difficult, though? Really basic coding seems easier to me than remembering an endless soup of hotkeys I’ll rarely need.

        • lunarul@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Not sure why you’d remember the ones you rarely need. I just memorized the things I use. Remembering stuff you use is much easier than learning a programming language. I’ve been programming for over 30 years and I’ve been using vim as my only “IDE” for the last 14 years. It would take me significantly less time to teach someone vim than to teach them programming.

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

            See, the thing with Vim is that I don’t actually know which of the endless features I need. I don’t really feel like I’m missing much with the basic text editors.

            Maybe you could shine some light on it for me? Right now I’m the sideways-glancing monkey meme every time IDEs come up.