An independent, unaffiliated study companion to the three-volume Introduction to Programming by Dr. Andrey Stolyarov. Original works: stolyarov.info.
The twelve chapters follow the progression of the book: from hardware, shell tools, Pascal, and assembly in Volume I, through C, POSIX services, networking, concurrency, and kernel internals in Volume II, to paradigms, C++, functional and logic languages, and scripting in Volume III.
Machine architecture, practical Unix shell use, discrete mathematics, imperative programming in Pascal, and i386 assembly.
| Ch. | Chapter | Main topics |
|---|---|---|
| 1 | Foundations | Hardware, Unix shell, discrete math, data encoding |
| 2 | Programming in Pascal | Variables, control flow, subprograms, recursion, files |
| 3 | Assembly Language | i386 registers, addressing, stack frames, NASM, macros |
Low-level programming in C, operating-system interfaces, TCP/IP networks, synchronization, and how the kernel implements them.
| Ch. | Chapter | Main topics |
|---|---|---|
| 4 | C Programming | Pointers, memory, strings, structures, separate builds |
| 5 | Operating Systems | Files, processes, terminals, signals, IPC |
| 6 | Networks and Protocols | Packet networks, TCP/IP, sockets, servers, event loops |
| 7 | Parallel Programming | Threads, shared data, synchronization, file locking |
| 8 | Inside the Kernel | Privilege, scheduling, virtual memory, drivers, I/O |
Alternative ways to model problems: recursion and state machines, object-oriented and generic C++, non-destructive languages, and execution strategies.
| Ch. | Chapter | Main topics |
|---|---|---|
| 9 | Programming Paradigms | Recursion, folds, callbacks, state machines, generated code |
| 10 | C++ Programming | ADTs, lifetime, exceptions, inheritance, templates, GUI events |
| 11 | Functional and Logic Programming | Lisp, Scheme, closures, continuations, Prolog, lazy evaluation |
| 12 | Scripting and Execution Strategies | Tcl/Tk, embedded interpreters, compilation, runtime dependencies |
notes.txt) -- plain-text source notes covering all
three volumes.
Comments