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
The Bubba Army
2 days ago90K Honor Charlie Kirk At Memorial - Bubba the Love Sponge® Show | 9/22/25
719 watching -
38:21
Stephen Gardner
2 days ago🔥Is Kash Patel HIDING DETAILS About Charlie Kirk & Jeffrey Epstein? Judge Joe Brown
50.1K154 -
26:33
DeVory Darkins
1 day ago $53.44 earnedRep Omar EMBARRASSES herself in a painful way as Newsom PANICS over Kamala confrontation
84.1K299 -
3:28:14
Badlands Media
1 day agoThe Narrative Ep. 39: The Sovereign Mind
112K37 -
2:17:35
TheSaltyCracker
10 hours agoThe Charlie Kirk Effect ReeEEStream 9-21-25
122K319 -
2:03:07
vivafrei
10 hours agoEp. 283: Charlie Kirk Memorial and other Stuff in the Law World
221K182 -
9:13:12
The Charlie Kirk Show
21 hours agoLIVE NOW: Building A Legacy, Remembering Charlie Kirk
2.17M949 -
1:55:20
The White House
13 hours agoPresident Trump Participates in the Memorial Service for Charlie Kirk
108K95 -
1:02:41
Sarah Westall
12 hours agoDomestic Terror Operation: Death Threats, Smear Campaigns, Gang Stalking w/ Journalist Sarah Fields
60.1K10 -
1:51:40
Nerdrotic
12 hours ago $22.72 earnedGobekli Tepe Discovery and "Reconstruction" | Forbidden Frontier #118
97.7K10