It is not yet on Github.
Ask HN: What open source project, in your opinion, has the highest code quality?
271–280 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#272Its 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…
FYI, "Surprise, surprise" is generally meant sarcastically. I think you mean "Surprisingly". https://www.merriam-webster.com/dictionary/surprise,%20surpr...
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#273Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#274Earlier quoted context omitted.
Ever heard of Timsort?
People were still finding bugs in common implementations of timsort as of 3 years ago. It's not unreasonable to stick with a somewhat more conservative choice for a core library function until there's more reason to have confidence in the implementations of timsort.
Edit: The article linked in the other comment says the Java dev team didn't even bother to implement the "proper" fix, but merely adjusted how much space is allocated.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#275Earlier quoted context omitted.
timsort is full of win, and such a clever approach.
I'm sorry, but Timsort is a bit of a hack. It's a "this seems to work well" algorithm, and it shows. It took 13 years until its claimed running time was finally proven in 2015. The four (originally three) rules for merging sequences from the stack are rather arbitrary. Multiple issues were found well after it was already widely deployed. Recently, it was also shown that Timsort doesn't optimally use the information i…
Isn't that most of computing?
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#276Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#277Even though it’s a fairly complex transpiler, the authors did a good job modularizing and leaving lots of contextual comments on what each part does.
Also typescript baseline tests are a simple but very effective way to get lots of coverage on the compiler.
I’ve read source code for Babel, typescript, coffeescript and flow. Typescript architecture stands out.
Typescript not only does fascinating things like magical code completion abilities and great tooling for IDEs but their codebase has been an inspiration for me to build better front end code.
I may be a bit biased since I’ve worked at Microsoft before.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#278I hold Redis codebase as an example of what good C code should be. On the other hand opencv codebase as an example of what C could should not be. Opencv codebase is really inconsistent with quite a bit of unreadable spaghetti sauce.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#279Earlier quoted context omitted.
Correct. The key word is "inspired". Multiple companies have run a DO-178B cert on SQLite, I am told, but the core developers did not get to participate, and I think the result was level-C or -D. While all that was happening 10+ years ago, I learned about DO-178B. I have a copy of the DO-178B spec within arms reach. And I found that, unlike most other "quality" standards I have encountered, DO-178B is actually useful…
I just bought a copy of DO-178C after reading these posts here and the Wikipedia article on it. $290, but if it's good, it should be worth it, right?
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#280Typescript Even though it’s a fairly complex transpiler, the authors did a good job modularizing and leaving lots of contextual comments on what each part does. Also typescript baseline tests are a simple but very effective way to get lots of coverage on the compiler. I’ve read source code for Babel, typescript, coffeescript and flow. Typescript architecture stands out. Typescript not only does fascinating things lik…