Memory allocator simulator / Change history

Change history

Every change made to Memory allocator simulator, newest first, from the site's version history. Each date is the day the change was saved.

2 changes to this page · 7 site-wide changes · first saved 28 May 2026

  1. 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.

  2. Rebuild memory allocator simulator with five allocators and measured fragmentation

    Details

    The old page simulated a 64-cell array and typed its explanations. The new model runs first fit, next fit and best fit with boundary-tag coalescing and glibc-sized chunks, a binary buddy allocator and a size-class allocator on a 64 KiB heap, through three programs or by hand, measuring internal waste, external fragmentation and search length. Knuth's fifty-percent rule (free blocks = p/2 x allocated) is reproduced and checked.

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.

  1. Replace the staff byline with AI-drafted and review status

    Touched 92 pages.

  2. Rewrite site prose in plain language; simulators, homepage, About, footer

    Touched 579 pages.

  3. add math and history, more content

    Touched 183 pages.

  4. new content and pages

    Touched 144 pages.

  5. Update components, cheat sheets, and structure

    Touched 444 pages.

  6. improve content

    Touched 405 pages.

  7. 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/memory-allocator/+page.server.ts
  • src/routes/simulators/memory-allocator/+page.svelte
  • src/lib/sims/alloc.ts
  • tests/sims/alloc.test.ts

The descriptions are the notes written when each change was saved, unedited, so older ones can be short.