Ask HN: What open source project, in your opinion, has the highest code quality?
161–170 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#162Strictly talking about code quality, I will nominate RCP100, which is a small, virtually unknown, now-abandoned routing software written in C [0]. I started programming with C way back in the 90s, and this is one of only two projects I can recall being immediately struck by the beauty of the code (Redis being the other). I know almost nothing about the author but he seems not to want to be known by name. You can brow…
Maybe you just send the guys an email ;)
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#163https://github.com/ProseMirror/
It's not typical js, but very good none the less
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#164Earlier quoted context omitted.
Depends on the design goals. If you want secure code, you'll make it readable. Here's true(1): : A single "noop" in a 755 file. A C true would be: https://cvsweb.openbsd.org/src/usr.bin/true/true.c?rev=1.1&c... Here's a much faster true(1) if you need it: https://github.com/coreutils/coreutils/blob/master/src/true....
How is the coreutils true faster? I would expect the openbsd true to be the fastest, it doesn't need to spawn a subshell and it doesn't do more than the posix specification requires (afaik --help/--version should be ignored).
time { for i in $(seq 1 10000); do /path/to/true; done; }Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#165Earlier quoted context omitted.
SQlite is very high quality software, but they use DO-178b "inspired" testing process. As far as I know they don't have version of software that is or can be used in safety critical parts despite their boasting. They say in their site that: > Airbus confirms that SQLite is being used in the flight software for the A350 XWB family of aircraft. Flight software does not imply safety critical parts of avionics. It can be…
Yeah DO-178B gives several levels for software from DALA (highest) to DALE (lowest). If DALA software fails the results are catastrophic if DALE fails there is no effect on the aircraft. Since DALE is usually just test equipment and such they might be at a DALD level. So still requires a lot of testing but not nearly to the level that DALA requires. https://en.wikipedia.org/wiki/DO-178B
Hipp's Hwaci consulting company would probably help to do the work, but it has no relation to the SQLite as a library.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#1661. Don't simply list projects.
2. Give some notion of why you're nominating code.
3. A sense of what you consider to be quality.
Enough to spark discussion, inquiry, or comparison. Doesn't have to be much.
This is rudimentay. But affords purchase; https://news.ycombinator.com/item?id=18037815
This does not: https://news.ycombinator.com/item?id=18038047
(Both reference the same project.)
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#167Earlier quoted context omitted.
Shouldn’t good performance be one of the goals of good code?
Depends on the design goals. If you want secure code, you'll make it readable. Here's true(1): : A single "noop" in a 755 file. A C true would be: https://cvsweb.openbsd.org/src/usr.bin/true/true.c?rev=1.1&c... Here's a much faster true(1) if you need it: https://github.com/coreutils/coreutils/blob/master/src/true....
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#168Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#169Its older than some HN posters, but the GPLed DOOM source code was one I liked. The performance reached by the game was considered impossible until Carmack did show us otherwise. So I expected lots of ASM and weird hacks, especially as compiler optimization wasnt as good as it is today. Surprise, surprise, the thing was easy to read, easy to get going, easy to port, reasonablye documented . It has shown me what a goo…
These 666 forks can't be a coincidence, right?
+1
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#170Earlier quoted context omitted.
And all that is public domain: https://www.sqlite.org/copyright.html
Not all of the test suite is public domain. That's how the authors maintain a monopoly on improvements to the code.