Sign up
Forgot password?
FAQ: Login

James Mike. Deep C Dives: Adventures in C

  • zip file
  • size 878,37 KB
  • contains epub document(s)
I/O Press, 2024. – 215 p. – ISBN: 9781871962888.
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 an 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 rather be using a higher-level language. To emphasize the wayhowrs 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 differently. You will also read things that take you into the lesser-understood areas of the C language, which only makes 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.
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.
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up