• irdc@derp.foo
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    Though I really like the concept of building a new device which incorporates the inherent ease of programmability of the computers of yore, I think the 6502 is just too weird and limited for doing so. For example, in order to cram a halfway decent amount of memory into the thing they had to resort to bank switching. At the least they should’ve gone with a 65816 (apparently they tried but they initially had some problems with the '816 address bus multiplexing).

    • feoh@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Also, how would that ‘weirdness’ impact using the device in a teaching context?

      • irdc@derp.foo
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        People would learn bad habits.

        For example, due to parameter passing often being done via the zero page, recursion is unnecessarily hard on the 6502, whereas one could argue that recursion is one of the major skills to master for any programmer.

        • Richard@mastodon.social
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          1 year ago

          @irdc @feoh All programmers need to learn recursion and fully understand it so when they encounter it in the wild they can properly analyze what it is doing and replace it with non-recursive code.

          • irdc@derp.foo
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            A non-recursive recursive descent parser isn’t any easier to reason about.

        • feoh@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          One could, but I would argue that this idea pre-supposed a very ascetic class of programmer, and that depending on one’s goals in learning how to program, recursion can be a useful concept but saying it should be the one litmus test for any learning platforms seems highly questionable to me.

      • Draconic NEO@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        They learn how to program in a more efficient way that makes better use of limited memory and CPU cycles. Which frankly is something modern programmers and game designers could very much benefit from considering how bloated and unoptimized much of modern software is, probably because they didn’t need to think about whether computers can actually run it.

      • irdc@derp.foo
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        1 year ago

        There’s plenty of choices. If you want that retro vibe go for a 68k, if you want something neat but obscure (and are willing to use an FPGA) choose the pdp-11, if you want to go with the flow then use risc-v.

        But please pick something that’s not actively fighting modern (that is, not 1970’s) programming techniques.

        • feoh@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Are there any off the shelf available 68K based computers these days? I wasn’t aware of one but that would be cool :)

          AMIGA 2023!!! :)