Best textbooks for learning C that also teach systems programming/how the computer actually works? I'm looking at k&r and Effective C by Seacord right now. Any other recommendations?I am open to blogs and documentation too. The more thorough it is, like the Gentoo wiki for example, the better.
>>107179873I liked A Book on C.
>>107179873K&R doesn't really go over C from a systems perspective, it's more so going over syntax and basic programming ideas
>>107179873K&R isn't really the book for youSeacord is a bit of a faggot, and he uses a lot of nonstandard (i.e. gnu) shit
Well written with good exercises. Generally C89, with C99 when it's relevant, but you can do everything in C99 or later if you want. Knowing C89 helps to understand older codebase differences and C99 is basically the start of what is now Modern C. Unless you also happen to have a an old Unix machine handy, going through K&R is more trouble than it's worth.
>>107179954silence, pleb. there is only ANSI C.
>>10717987321st Century C - KlemensA Book on C - Kelly, PohlBeginning C 5th Ed - HortonBeej's Guide to CC a Reference Manual 5th Ed - Harbison, SteeleC In a Nutshell - Prinz, CrawfordC Primer Plus 5th Ed - PrataC Programming - KingEffective C - SeacordExtreme C - AminiFluent C - PreschernTiny C Projects - GookinHead First C - GriffithsK&RLearn C Programming - SzuhayPointers on C - ReekPractical C Programming - Qualline, OramPractical C - ZamboneProgramming in C - KochanSchaum's Programming in C - GottfriedUsing C Pointers - Reese
>>107179873>teach systems programmingthat's what man pages are for
If you're new to the language, do K&R. It's a great book.
>>107180409>man pagesAre girls (male) allowed to read those?
>>107179873Unrelated to your faggy question but pic related will make you stand out among jeets who think learning C is the pinnacle of knowledge
>>107179954Seconding.
>>107179873Take the time to digest the book "Unix Systems for Modern Architectures: Symmetric Multiprocessing and Caching for Kernel Programmers", even though it's out of date, it's out of date in the sense that everything is *more* complicated now, so in effect it's an introduction to the topic.As for C, there's stages you'll go through. K & R ANSI is fine to start. Next, you'll need to get "good", which really means implementing data structure and being comfortable with stupid APIs (like getopt_long() off the top of my head). Then there's understanding POSIX APIs and the difference between the 2nd and 3rd chapters of the man pages. Then there's threading and locking. Most people here stop and it's an absolute shame because they've really wasted their time unless they actually read the standard (c11 is a good place to start, look up n1570.pdf from wg14), then essentially re-learn everything again, except now you will know how to drill down to "chapter and verse" as the old comp.lang.c folks called it. Basically if you can cite chapter and verse for something, you *are* correct. Most people writing C have not read the standard of the language they're writing. It's akin to not understanding how to look up words in Emglish.At this level, you may wish to branch out into various C adjacent fields such as linking, loading, assembly, calling conventions/ABIs, profiling, debugging, SIMD, crypto primitives, device drivers, kernels, bootloading, chain of trust/secure boot/UEFI/uboot, userspace network IO like DPDK, eBPF/kernel hooking, systemd/system daemons/cgroups/kernel namespacing, emulation, virtualization, containers, etc.
Highly recommend
>>107179954>well writtenlol, lmao even.>800 pages
What is the Bible of the Assembly language?
>>107179873>tfw when you to university when that book was the literal assigned textbook for intro to C
>>107181991Do you have a link to PDF? not the global edition please.
>>107181489stop shilling your shitty books you retarded swede
>>107179873
>>107182327Use Google, faggot.
>>107182327I got one on libgen a while back
>>107180185>Extreme C - Amini>Fluent C - Preschern>Tiny C Projects - Gookin>Learn C Programming - Szuhay>Practical C Programming - Qualline, Oram>Practical C - Zambone>Programming in C - Kochan>Schaum's Programming in C - GottfriedNever heard of any of these. Can fags provide review/qrd please?