Ruby Systems Programming
summary
Explains how Ruby invokes the kernel via syscalls to move from user space to kernel space, inspects file descriptors and BSD sockets, and counts an eye‑popping 120000 syscalls for one local request. Shows actual tools used (strace on Linux, dtruss/dtrace on mac), implements a working 23‑line HTTP webserver in Ruby using the socket library that serves files, and confirms the demo runs on Linux and macOS.
AI-written summary · about
chapters (14)
- 0:00Start
- 0:31Ruby Systems Programming ANDY DELCAMBRE
- 1:39operate and control the computer hardware and to provide a platform for running application software
- 3:42The Kernel
- 6:05ANYTHING EVERYTHING
- 6:31System Calls
- 8:38120,602 Calls ONE REQUEST
- 9:19mov ebx, path mov ecx, flags int 80h
- 11:48File Descriptors
- 12:53File API read() write() close()
- 16:04BSD Sockets
- 28:26LINUX Linux System PROGRAMMING
- 28:51UNIX PROGRAMMING Programming
- 29:07Advanced Programming in the UNIX Environment








