News for hackers. Stuff that matters.

Ask HN: What are some examples of well written C/C++ codebases?

I'm attempting to up my C/C++ game. I learned C++ in college, and have been a professional developer for a decade at this point in other languages, but I have never done it professionally. What are some well written open source projects should I be looking at?

Thanks

( 5 comments | 6 points | on HN )
Re:Ask HN: What are some examples of well written C/C++ code... by slewis on Saturday September 17, 2016 @01:45PM (#12521520)
Re:Ask HN: What are some examples of well written C/C++ code... by ruraljuror on Saturday September 17, 2016 @10:57PM (#12523719)
I will pass on recommendations from Nick Black:

9Some of the best code I can recommend includes: the core Linux kernel, OpenVPN, OProfile, OpenSSH, and the NPTL threading implementation from GNU libc. I recommend OpenSSL, the Linux PATA or TTY implementations, the SVR4 shared memory API, or the Berkeley Sockets resolver(3) API for examples of what not to do. Source: https://nick-black.com/dankwiki/images/8/85/Msadvice.pdf

Re:Ask HN: What are some examples of well written C/C++ code... by borplk on Monday September 19, 2016 @02:32PM (#12533592)
Re:Ask HN: What are some examples of well written C/C++ code... by perfmode on Saturday September 17, 2016 @03:07PM (#12521897)
Re:Ask HN: What are some examples of well written C/C++ code... by malux85 on Saturday September 17, 2016 @03:45PM (#12522089)
Redis Postgres Nginx Llvm+clang

They are a joy to read