~/talk

File IO - Past, Present and Future

Talkat ACCU 2024 · 2024-04-17..04-20· [c-and-cpp]
slides:none on file

Covers forty years of file IO with concrete claims: buffered stdio/std::fstream copies cost ~4KB default buffers and get worse as NVMe latency drops; unbuffered memory‑map the file removes kernel→user copies, lets a background thread touch pages to hide loading screens, and saved one hacky experiment (read ~400KB from a 360KB floppy in 9s). Shows Windows SDK APIs (CreateFile/MapView), cites proposals Hash‑embed (P1040) and std mapped file handles (P883/P1031), and notes DirectStorage needs Win11 + RTX 3090.

AI-written summary · about

  1. 0:00Introduction
  2. 4:14Why files exist
  3. 13:12Cassette to floppy disks
  4. 23:55Hard disks and file systems
  5. 29:36POSIX standards
  6. 33:56C++ file system standards
  7. 43:49Efficient RAM data movement
  8. 55:56Modern IO challenges
  9. 1:00:0864-bit address spaces
  10. 1:07:13Memory-mapped files
  11. 1:13:50Storage growth and C++
  12. 1:17:21Build pipelines
  13. 1:20:51Hash embed and compile-time resources
  14. 1:22:37Future of file IO
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.