‹ BackHN Continuity

Thread

A graphical desktop for the ZX Spectrum

131 points · 130 comments · graemep

  1. shevy-java · · focus · HN ↗
    Assembly seems overkill though.
    1. flohofwoe · · focus · HN ↗
      There is practically no other choice on a Z80. C compilers really don't like the Z80 ISA and create both slow and bloated output, at least compared to manually written asm. And on top, you can do many optimization tricks in assembly that simply are not possible in a high level language (self-modifying code, jumping into the middle of an instruction, etc...).

      Forth might work better than C, but tbh, assembly code is more straightforward and easier to read than Forth ;)

      1. whobre · · focus · HN ↗
        PL/M ?
        1. flohofwoe · · focus · HN ↗
          Don't know, but AFAIK this wasn't a popular programming language on home computers in the 1980s (from what I've seen, the popular non-asm languages were usually BASIC, Forth and Pascal, even C was kinda rare).
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.