4 ms·
Postgres. I don't code in C if I can avoid it, since it often feels like an awful lot of extra typing while still having to worry about memory safety. But the P
by ttfkam 2y ago
Postgres. I don't code in C if I can avoid it, since it often feels like an awful lot of extra typing while still having to worry about memory safety. But the Postgres codebase is extraordinarily well organized and respects the humans that work with it with its intelligent handling of memory and judicious use of macros.
I consider the core Postgres codebase to be the gold standard in development even though it's in a language I do not prefer to write in if given the choice.
Shout out to the pgrx folks. You're awesome! https://github.com/pgcentralfoundation/pgrx https://github.com/pgcentralfoundation/pgrx
- niobe 2y agoNot only that, one of the best documented projects out there, clear, comprehensive, consistent and findable.
- rurp 2y agoThat is nice to hear, albeit unsurprising. Their public documentation is some of the best that I have worked with. Postgres is such an impressive project overall.
- shutupnerd0000 2y agoThis codebase is 99.6% Rust according to GitHub.
- radimm 2y agoThat’s PGRX - not PostgreSQL
- deleted 2y ago[deleted]
- ttfkam 2y agoAs I said, I don't like coding in C.
- rrr_oh_man 2y agohttps://github.com/postgres/postgres https://github.com/postgres/postgres Postgres (core?) seems to be 85% C.
- HaZeust 2y agoHe's referencing pgrx: https://github.com/pgcentralfoundation/pgrx https://github.com/pgcentralfoundation/pgrx To be fair pgrx was mentioned in OP under a positive light, and OP did say he likes avoiding coding in C, so it was something to bring up.
- jokoon 2y agoI laughed at this comment sorry