Premium Only Content
Why You Should Use Memory Mapped Files
A memory mapped file is a file that can be read like a byte array from your program. They are the fastest way to parse data and to do inter-process communication (by a long way). In this video we explain its intricacies, and we show a demo program capable of doing 11 million ping-pong messages per second between two process using memory mapped files.
0:00 Start
2:30 Some of the Basics First
7:00 Semantical Benefits
10:40 Code: How to Open a Memory Map File
15:30 Performance Benefits
16:00 Swap and Memory Map Files are the same thing
22:00 Most Efficient way to Share Memory Between Processes; Compare And Swap, Memory Barriers
25:20 One System Call
27:38 Code: Memory Mapped File Ping between two processes
31:00 Code: Atomic Load/Store
34:50 Demo: 9 millions pings per second between two processes via mapped files
36:30 Demo: vs 24 kilo pings per second when using local network
40:20 The Small Prints: two caveats
46:30 Thank you
The Memory Ping Pong: https://github.com/ComputerSaysYeah/MemMapPing
The Blog Post: https://yeah.computer/posts/019-why-you-should-use-memory-mapped-files
-
LIVE
VINCE
1 hour agoYoung Men Are Taking The Red Pill (Guest Host Hayley Caronia) | Episode 166 - 11/11/25 VINCE
16,817 watching -
LIVE
Badlands Media
9 hours agoBadlands Daily: November 11, 2025
1,527 watching -
LIVE
Graham Allen
1 hour agoLibs Are SEETHING Over Shutdown Ending!! They’re Turning On Each other!! + Trump Calls Out MTG!!
5,677 watching -
LIVE
Wendy Bell Radio
5 hours agoEverything’s A Grift
7,410 watching -
12:03
Bearing
3 hours agoTransgender Women BANNED From the Olympics 🦀
61410 -
1:10:48
Chad Prather
9 hours agoPeace That Walks Through Walls: Finding Faith in a Fearful World
57.6K12 -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/11/25
3,377 watching -
8:27
MattMorseTV
16 hours ago $20.76 earnedIlhan Omar IMPLICATED in $250,000,000 FRAUD RING.
37.2K128 -
The Chris Salcedo Show
13 hours ago $4.71 earnedOur Vets Fought To Turn Over Our Country To Marxists & Leftists?
14.5K1 -
15:11
Cash Jordan
16 hours agoIllegals ‘Force Out’ NYC Millionaires… "Communist" Mayor FREAKS as RESIDENTS LEAVE
41.7K28