• JoYo@lemmy.ml
    ·
    2 months ago

    I get the feeling that all of these assembly jokes are justifications to avoid learning assembly.

    You can still make syscalls in assembly. Assembly isnt magic. It isn't starting from the creation of matter and energy, it's just very specific code.

        • henfredemars@infosec.pub
          ·
          edit-2
          2 months ago

          There’s actually good reasons for this design. It’s easy to write a Scheme interpreter in assembly, but it’s hard to write a C compiler in assembly that handles everything correctly. Much rather write it in higher level language if possible and Scheme lowers the bar to getting there, so you can get away from using assembly as quickly as possible. Or you can copy somebody else’s Scheme implementation of a C compiler because now you’re platform independent.

          Then you can write your C compiler in C (or steal a better compiler already written in C) and close the loop. For your final step, you use the C compiler to compile itself.

  • darklamer@lemmy.dbzer0.com
    ·
    2 months ago

    It's now been 18 years since the last time an employer paid me to write assembly, but it's only been a year or so since the last time I had to read assembly at work (in order to verify what the compiler really was doing).

  • finley@lemm.ee
    ·
    2 months ago

    I remember watching assembly demos in the early-mid 90s and thinking those guys were wizards

  • NauticalNoodle@lemmy.ml
    ·
    edit-2
    2 months ago

    I've been studying Arm Aarch32 lately. I have a software development academic background but I have always been interested in Architecture.

  • MyNameIsRichard@lemmy.ml
    ·
    2 months ago

    Only on the VIC20 and Atari STe. On the VIC20 you had to write the assembler, manually convert it to machine code and enter that into the computer. There was a cartridge with an assembler, debugger and an extra 3.5Kb memory for it but I never got one.

  • Jo Miran@lemmy.ml
    ·
    2 months ago

    In college back in 1991. Also had to do PASCAL and FORTRAN but thankfully those two were in a single course.

  • fuy@lemmy.ml
    ·
    2 months ago

    For a university assignment, I built a compiler for x86; I cheated a bit by relying on LLVM, but it gave me a better understanding of the architecture. I also developed emulators for the NES (Ricoh 2A03) and RISC-V (RV32I) as a hobby. For the latter, I implemented it in FPGA.