Ask HN: What are some well written/engineered open source software?
21–30 of 72 posts
Re: Ask HN: What are some well written/engineered open source software?
#22Especially the kernel in src/os
Re: Ask HN: What are some well written/engineered open source software?
#23So far, it's the cleanest code I've ever worked with while still being very self-contained.
Re: Ask HN: What are some well written/engineered open source software?
#24Re: Ask HN: What are some well written/engineered open source software?
#25Re: Ask HN: What are some well written/engineered open source software?
#26edit for details: The authors are quite meticulous (notoriously, every comment in a multi-line comment is 3 characters less than the previous) and stick to the "convention over configuration" mantra no doubt inspired by Ruby on Rails. It's interesting to see how they create abstractions to simplify so many common web dev tasks.
Re: Ask HN: What are some well written/engineered open source software?
#27Among the most convoluted source codes I've read is Tor. It works (apparently), and it isn't even very insecure per se (the code is littered with hard asserts that will abort code execution if an expected condition isn't met), but it is unnecessarily dense. Example: I use software to analyze the call graph (which function calls which function) and when I ask it to find potentially recursive loops (A() calls B() calls A() etc) it spews out tens of thousands of potential recursions.
By comparison, mbed TLS only has a couple of these, and a large project like OpenSSL 50 or so.
Conversely, C software that isn't consistent in error signaling (return -1 on error in function A, return 0 in function B, set parameter int* err in function C, etc), doesn't perform due error checking, whose call graph is spaghetti, mindlessly performs multiplication (leading to overflows with certain inputs), uses signed or unsigned int where size_t is better suited, are usually susceptible to bugs and abuse (vulnerabilities). The projects I mentioned are very clean in this regard.
Re: Ask HN: What are some well written/engineered open source software?
#28Many names put out there, but not much substantiation. If you are going to drop a name, could you explain why it is well written/engineered?
Re: Ask HN: What are some well written/engineered open source software?
#29Asterisk PBX. Well-chosen small set of module types (channel drivers, applications, functions, resources, codecs & formats), allowing to implement literally any behaviour, and converge with any thinkable external technology. Not working in VoIP anymore for quite long time, but the clarity of design of Asterisk has deeply influenced me. Gstreamer. Pipeline is very powerful model for software, the potential of it is tr…