Why Learn C
Why Learn C, Apress
Go Behind the Curtain of Modern Systems with C23
Von Paul J. Lucas, im heise shop in digitaler Fassung erhältlich
Produktinformationen "Why Learn C"
Don’t count C out. The classic programming language remains the backbone of many
modern software systems including operating systems, relational databases,
libraries, embedded systems, and even the core components of other programming
languages.
This book teaches C23 while also building a foundation that strengthens your
programming skills regardless of what language you normally program in.
Starting with a tour of C, it highlights C’s core concepts using example
programs to give you the flavor of C. Next, it covers the entire C23 language
including topics not often covered elsewhere such as undefined behavior,
assertions, atomic variables, lock-free programming, debugging, advanced use of
the preprocessor using _Generic, and more. Finally, it gives extended examples
of how features common in modern programming languages might be
implemented—including lists, maps, dynamic dispatch, and exceptions.
This book includes many in-line notes containing commentary, explanations for
why something is the way it is, historical context, best practices, and details
often glossed over in modern languages. Additionally, it gives examples that
evolve with the introduction of new language features.
What You Will Learn:
· Write programs in C using the new features introduced in C23.
· Explore advanced or obscure parts of C not explained well elsewhere, if
at all.
· See how strings, lists, maps, dynamic dispatch, and exceptions might be
implemented from scratch to understand what’s really going on in whatever
language you program in.
Who This Book is for:
Professional programmers, computer science instructors, students or experienced
hobbyists who understand programming language concepts (variables, statements,
loops, functions, arrays, classes, objects, etc.) and have basic familiarity
with algorithm characterization given in “big O” notation.
Part 1. Learning C.- 1. A Tour of C.- 2. Comments, Names, and Types.- 3.
Operators .- 4. Declarations.- 5. Statements.- 6. Arrays and Pointers.- 7.
Enumerations.- 8. Preprocessor.- 9. Functions.- 10. Structures.- 11. Unions.-
12. Input, Output, and Files.- 13. Program Organization.- 14. Multithreading.-
Part 2. Selected Topics.- 15. Undefined Behavior.- 16. Assertions.-
17. _Atomic.- 18. Debugging.- 19. Generic.- 20. setjmp and longjmp.- 21.
restrict.- 22. volatile.- Part 3. Extended Examples.- 23. Strings.- 24. Lists.-
25. Maps.- 26. Dynamic Dispatch.- 27. Exceptions in C.- A. Standard Headers.- B.
Standard Functions.- C23 Differences.
Artikel-Details
- Anbieter:
- Apress
- Autor:
- Paul J. Lucas
- Artikelnummer:
- 9798868815973
- Veröffentlicht:
- 07.10.25
Barrierefreiheit
This PDF has been created in accordance with the PDF/UA-1 standard to enhance accessibility, including screen reader support, described non-text content (images, graphs), bookmarks for easy navigation
- entspricht den Vorgaben der PDF / UA 1 (05)
- keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
- navigierbares Inhaltsverzeichnis (11)
- logische Lesereihenfolge eingehalten (13)
- kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
- Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
- hoher Kontrast zwischen Text und Hintergrund (26)
- Navigation über vor-/zurück-Elemente (29)
- alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
- Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)