Virtual memory simulator / Change history
Change history
Every change made to Virtual memory simulator, newest first, from the site's version history. Each date is the day the change was saved.
-
Add tests for 13 more simulators
The same change touched 12 other pages.
Details
A*, binary search, LCS/edit distance, N-queens, BFS/DFS, linked list, cache eviction, MESI, deadlock, circuit breaker, allocator, virtual memory and big-O, each against an independent reference: BFS distances, linear scans, brute force, OEIS A000170, GNU diff, separate LRU/FIFO/Belady implementations, Knuth's bounds and the fifty-percent rule.
-
Load only the hash-wasm functions used; fix empty-frame contrast
The same change touched 1 other page.
Details
Destructured dynamic imports let Rollup tree-shake hash-wasm: the lazily loaded chunk drops from 217 kB to 77 kB. Hashes re-checked against Python. Virtual memory: empty frames no longer use opacity, which failed the colour-contrast audit.
-
Rebuild virtual memory simulator on the wiki layout
Details
New model in src/lib/sims/vm.ts: x86-64 style 4 KiB pages with a four-level page table, a process-tagged TLB, a few frames with LRU replacement, swap, demand paging, file-backed code pages, copy-on-write after fork() and protection faults. Tested headless: address splits match plain bit arithmetic, fault counts match an independent LRU over 200 random traces, and parent and child stop sharing a frame once either writes. The fault rules were also measured on Linux 6.18 with a small C program (first touch, re-touch, child read and write after fork, parent write after the child exits), and the article reports those counts.
Site-wide changes that also touched this page (7)
Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.
-
Replace the staff byline with AI-drafted and review status
Touched 92 pages.
-
Rewrite site prose in plain language; simulators, homepage, About, footer
Touched 579 pages.
-
add math and history, more content
Touched 183 pages.
-
new content and pages
Touched 144 pages.
-
Update components, cheat sheets, and structure
Touched 444 pages.
-
improve content
Touched 405 pages.
-
add more sims
Touched 28 pages.
What counts as a change to this page
Any saved change to these files, including when they lived in an older folder:
src/routes/simulators/virtual-memory/+page.sveltesrc/lib/sims/vm.tstests/sims/vm.test.ts
The descriptions are the notes written when each change was saved, unedited, so older ones can be short.