News for hackers. Stuff that matters.
Re:Flattening ASTs (and Other Compiler Data Structures) by Joker_vD on Sunday July 02, 2023 @10:32AM (#36561833)
Sometimes I wish we didn't end up with flat address spaces. The "virtual memory" technique allows us to stitch fragmented regions of physical memory into a contiguous region of virtual memory and if virtual address space was segmented, it simply would not ever become fragmented; any memory region could always be grown in-place, without intersecting with any other region, so realloc() implementations could just drop their memcopy() paths... oh well.

There are no comments on this comment yet.