POSIX shared memory with Zig

Описание к видео POSIX shared memory with Zig

Inter-process communication is a way to share information between different processes. In this video, I'll dive into what IPC is and how to create shared memory with Zig.

Disclaimer: This code is not production safe and just for educational purposes.

You can find the code written in this video here: https://github.com/BrookJeynes/zig-sh...
You can find the diagrams used in this video here: https://excalidraw.com/#json=a7YXNXJe...

Corrections are in the pinned ERRATA comment.

Timestamps:
[0:00] Intro
[0:12] IPC
[0:24] Shared memory
[0:48] Example program
[1:04] Disclaimer
[1:17] Programming
[1:32] Shared memory considerations
[2:45] mmap()
[4:18] Mapping to a file
[6:18] Back to the program
[6:36] Forking the child
[7:59] Output
[8:21] Outro

Resources:
[Operating System Concepts: Global Edition](https://www.wiley.com/en-au/Silbersch...)
[musl - shm_open](https://elixir.bootlin.com/musl/lates...)

--------------------------------------------------------------
🎵 Music "bread" by ‘Lukrembo’
💿 Listen:    • (no copyright music) jazz type beat “...  
--------------------------------------------------------------

Комментарии

Информация по комментариям в разработке