Re:Handmade: A Community for Self-Rolled Performant Software...
by AlotOfReading on Monday August 17, 2020 @10:33AM
(#24187634)
Nobody writing in C has "bug free" as their highest priority. Reducing dependencies is good though.
[ Parent
| on HN ]
Re:Handmade: A Community for Self-Rolled Performant Software...
by nikki93 on Monday August 17, 2020 @12:36PM
(#24188842)
SQLite is written in C.
Re:Handmade: A Community for Self-Rolled Performant Software...
by AlotOfReading on Monday August 17, 2020 @02:38PM
(#24190325)
And SQLite has a page on why [1] that explicitly lists the benefits of C for the project. Not on that list: bug reduction. Moreover, it has an almost superhuman level of effort put into testing and verification.
SQLite is just one piece of a broader argument that C's inherent risks aren't completely unmanageable. All it takes is an incredible amount of diligence, tooling, expertise, and money.
Re:Handmade: A Community for Self-Rolled Performant Software...
by nikki93 on Tuesday August 18, 2020 @12:14PM
(#24200510)
Your comment said "no one writing in C has bug reduction as a priority." Bug reduction is a priority for the SQLite authors, and it's written in C. This feels to me like an indication that it is a priority: https://www.sqlite.org/testing.html