~/talk

A Gopher's Guide to *NIX Plumbing

Talkat GopherCon UK 2025 · 2025-08-13..08-15· [linux-and-operating-systems]
slides:none on file

Walks through concrete Go code that spawns and controls processes using os/exec, os and syscall, sets timers and tickers that fire every second, coordinates concurrent work with sync (weight groups), and builds real IPC with pipes and a simple CR‑terminated message protocol. Demonstrates signal handling (sending SIGINT/SIGTERM and a SIGUSR ping‑pong), observes 3 concurrent child processes with sequential PIDs, and shows a CGO semaphore wrapper that creates and uses a named semaphore; examples run and interoperate on macOS/Linux.

AI-written summary · about

  1. 0:00Introduction
  2. 0:46Speaker’s Unix journey
  3. 3:14Why Go excels on Unix
  4. 5:25Unsafe Unix practices
  5. 7:53Go packages for process control
  6. 10:59Parallel subprocess execution
  7. 16:20Process creation with exec.Cmd
  8. 20:59Inter-process signals
  9. 27:22Signal exchange between processes
  10. 31:42Managing child processes with pipes
  11. 44:01Unix pipes explained
  12. 49:20CGO for Unix system calls
  13. 57:32Syscall semaphores
  14. 1:02:07Resources and closing
~/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.