4 ms·
Postgres code is very good, redis as well. Some of the core parts of Linux also totally worth learning from. I also remember how Qt UI code and docs were a rev
by vkazanov 4y ago
Postgres code is very good, redis as well. Some of the core parts of Linux also totally worth learning from.
I also remember how Qt UI code and docs were a revelation after the nightmare of win32 and related frameworks.
Bellard's original Tinycc was very entertaining and took a while to digest.
Most old and well-maintained projects are worth learning from.
Apart from some local tips and tricks what is more important is understanding that there's nothing special about other people's code.
- hahnchen 4y agoWhich part of linux core? I’ve been wanting to but I don’t know how/where to start
- suprjami 4y agoI enjoyed reading the VFS layer down into the NFS client file ops and then the RPCs created from them. (skip the RPC state machine) An easier entry point might be the ethtool_ops in an earlier Intel network driver like e1000.
- sdwr 4y ago+1 for redis, first code I read that felt like artisan craftsmanship, approaching art.
- Octoth0rpe 4y agoSeconding redis, and noting that the original redis source code is _also_ an interesting read and demonstrates how approachable well-written tcl is, even for those entirely unfamiliar with it as a language: https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e88a8 https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e...
- edumucelli 4y agoRedis, yes, even if you do not like/know C, that code is so clean that is readable/understandable by most programmers.
- ghosty141 4y agoQts documentation is a minefield but their source code is really nice and easy to read.