James M. Deep C Dives. Adventures in C 2024
- Type:
- Other > E-books
- Files:
- 1
- Size:
- 1.72 MiB (1801728 Bytes)
- Uploaded:
- 2024-10-03 08:11 GMT
- By:
- andryold1
- Seeders:
- 46
- Leechers:
- 2
- Info Hash: 0C495373979B5941C10330BA9FCA3A3026C8EEBD
Textbook in PDF format C is a language with a long past and probably a long future. Being one step up from assembler, it keeps the programmer close to the hardware and if you want to understand how your code takes control without all of the abstractions applied in other languages, C is the one to choose. The only problem is that many books and articles on the subject of C are written by programmers who are happier in higher-level languages – they tend to look down on C and try to explain it as if it were a defective Java or some other language. In Deep C Dives, Mike James provides in-depth exploration of the essence of C, identifying the strengths of its distinctive traits. This reveals that C has a very special place among the programming languages of today as a powerful and versatile option for low-level programming, something that is often overlooked in books written by programmers who would really rather be using a higher-level language. To emphasize the way in which chapters of this book focus on specific topics, they are referred to as “dives”, something that also implies a deep examination of the subject, suitable for programmers who already program in C. The intention is that you will encounter some things that you already know but will come to see them differently. You will also read things that take you into the lesser-understood areas of the C language, which only make sense when you view C as a machine-independent assembly language, which is a good way to find out more about how the machine works and influences the way things are implemented. Topics delved into include: bit patterns, arithmetic, how C types are different, casting, expressions, the evil for, what’s void, blocks, locals, the stack, heap and static storage, pointers, arrays, multidimensional arrays as pointers, first class functions, structs, type punning, unions, undefined behavior and exceptions. Preface. The Prolog. All You Need Are Bits. These aren’t the types you’re looking for. Type Casting. Expressions. Bits and More Bits. The Brilliant But Evil for. Into the Void. Blocks, Stacks and Locals. Static Storage. Pointers. The Array and Pointer Arithmetic. Heap, The Third Memory Allocation. First Class Functions. Structs and Objects. The Union. Undefined Behavior. Exceptions and the Long Jump