• Valmond@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    Nice 👍🏽!

    Machin code comes to mind, and “more” high level languages like C++, template metaprogramming and other horror stories 💀

    And CD players!

    Cheers 😋

    • moseschrute@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 days ago

      My impression of C++ is that’s it’s actually C++++++++ as in, how many more decades of features can we cram into this language before it explodes

      What’s a CD player /s

      Fun fact about a random CD player. The USB-A external CD player Apple sold after removing the internal CD player kinda abused the USB standard. I believe it needed more current than was allowed by USB, so Apple found some way to make this specific device draw more power than the USB standard supported at the time. Today, I believe USB-C includes a handshake that negotiates power requirements, but at the time, USB-A didn’t support this.

      Tbh, I don’t really know where assembly ends and machine code starts. But do know that assembly is tied to your specific architecture

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        You’re not wrong about C++ 😋

        Machine code is just the numbers, assembler is mnemonics and stuff and needs an “interpreter” to turn it into useful machine code (a C++ compiler also spits out machine code BTW).

        Spot on about USB standards, no idea if apple did what you saulid though, wouldn’t doubt it!