thread: how-to-read-c-source

· panic's blog


@h0mbre_

what’s C codebase/project you’d show to people as an examplar of good C programming practices? link

Pick any Rust codebase, use that as an example on how to do C :P

@andersonc0d3 vsftpd is cool

@_maurosoria I like socat code.

@richinseattle Linux kernel 2.x (I specify that older version cuz I read a lot of it, and only spot reads since) and redis (only nit is the function casing)

@ivansprundel OpenBSD code, stuff written by djb, and vsftpd. None of them are perfect, but they're miles ahead of what you usually see.