Post AOJMwCm7C1DhNymmhs by brion@mastodon.technology
(DIR) More posts by brion@mastodon.technology
(DIR) Post #AOJMwCm7C1DhNymmhs by brion@mastodon.technology
2022-10-07T03:29:06Z
0 likes, 0 repeats
Before memory protection (and thus virtual memory) became standard features in consumer desktop operating systems, classic MacOS and pre-protected-mode 16-bit Windows programs had to distinguish between allocating memory that would stay fixed in place, and allocating memory via an indirection that allows it to be moved to improve memory fragmentation or auto-discarded to free space.You'd allocate memory via a handle, lock it in place to get a pointer, work with it, then unlock it.Dreadful :)
(DIR) Post #AOJMwDADkOVCak42HQ by brion@mastodon.technology
2022-10-07T03:29:18Z
1 likes, 0 repeats
(corrected typo wrong term :D)
(DIR) Post #AOKE3PnwRXGnOSxnCi by mansr@society.oftrolls.com
2022-10-07T13:24:51Z
0 likes, 0 repeats
@brion There are CPUs that have memory protection features without virtual memory. I've never seen any software properly take advantage of it, though.