Box to Save Memory in Rust

dystroy.org
box-to-save-memory-in-rust

Table of Contents I saved 475 MB out of the 895 MB used by a real-world Rust program by changing the layout of some structs and the way I was deserializing JSON files. My program deserializes all the JSON files … Read more

80386 Memory Pipeline

nand2mario.github.io
80386-memory-pipeline

The FPGA 386 core I’ve been building now boots DOS, runs applications like Norton Commander, and plays games like Doom. On DE10-Nano it currently runs at 75 MHz. With the core now far enough along to run real software, this … Read more

MSA: Memory Sparse Attention

github.com
msa:-memory-sparse-attention

A scalable, end-to-end trainable latent-memory framework for 100M-token contexts Paper • [Code](Coming Soon) • [Models](Coming Soon) 📝 Abstract Long-term memory is essential for general intelligence, yet the full attention bottleneck constrains most LLMs’ effective context length to 128K–1M. Existing attempts,hybrid … Read more

DOS Memory Management

os2museum.com
dos-memory-management

The memory management in DOS is simple, but that simplicity may be deceptive. There are several rather interesting pitfalls that programming documentation often does not mention. DOS 1.x (1981) had no explicit memory management support. It was designed to run … Read more

Memory Safety for Skeptics

queue.acm.org
memory-safety-for-skeptics

November 6, 2025Volume 23, issue 4   PDF If you’re tired of hearing about memory safety, this article is for you. Andrew Lilley Brinker Memory safety—the property that makes software devoid of weaknesses such as buffer overflows, double-frees, and similar … Read more

Memory access is O(N^[1/3])

vitalik.eth.limo
memory-access-is-o(n^[1/3])

2025 Oct 05 See all posts Memory access is O(N^[1/3]) In computer science, we often compare the efficiency of algorithms by describing their runtime as a function of the size of the input. Sorting is O(n * log(n)), meaning that … Read more

Memory Integrity Enforcement

security.apple.com
memory-integrity-enforcement

Memory Integrity Enforcement (MIE) is the culmination of an unprecedented design and engineering effort, spanning half a decade, that combines the unique strengths of Apple silicon hardware with our advanced operating system security to provide industry-first, always-on memory safety protection … Read more

Memory is slow, Disk is fast – Part 2

bitflux.ai
memory-is-slow,-disk-is-fast-–-part-2

TL;DR Sourcing data directly from disk IS faster than caching in memory. I brought receipts. Because hardware got wider but not faster, the old methods don’t get you there. You need new tools to use what is scaling and avoid … Read more