• gandalf_der_12te@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 months ago

    Actually, I believe it should be possible (albeit horrendously slow) by memory-mapping the disk to address space.

    • areyouevenreal@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Absolutely not. Memory mapping is a concept created by the OS. The CPU won’t operate without RAM of some kind. It’s a fundamental hardware issue.

      • Natanael@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        10 months ago

        To boot a normal OS sure, but anything small enough to fit in registers/cache could do without RAM. That’s still some form of working memory though, so it’s probably not what they meant.

        You could build something RAM-less if you only need the thing to process real-time events like some signal processing with only 1 pass (also see: tons of FPGA and DSP applications)

        • areyouevenreal@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Yes I would count cache as a type of RAM. Also I don’t think the cache hierarchy would actually work without main memory as it’s foundation in a lot of cases. They are designed to have memory to map to. It would also be difficult in some systems to coordinate between cores as not every system has shared cache between all cores.