Skip to content

Comment on Writing a C compiler in 500 lines of Python (2023)parent

Comments

Exactly, I was looking into refreshing my C knowledge recently and K&R is still heavily recommended.

The problem with K&R is that there never was a third edition that covered C99, which compared to C89 is almost a new language.

K&R is an interesting historical artifact about the basic design decisions of the C language and definitely recommended reading material, but you're not doing yourself a favour using it as reference or for learning the language. For that it is vastly outdated, C ist a much more enjoyable and powerful language since C99.

Go with such a book instead,

https://www.manning.com/books/modern-c

I guess it is also a good one, both authors are still active on WG14, if I am not mistaken.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.