• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    14 hours ago

    Before virtual memory was a thing, almost all memory was accessible.

    Virtual memory has nothing to do with whether 0 is a valid address. You can have a CPU where it is valid, or one where it isn’t and you’ll get an access fault if you try to access it. You can also have virtual memory where page 0 is mappable, or not.

    I think the author knew that, based on the later points so it’s probably just bad wording. Interesting point about wasm too!