News for hackers. Stuff that matters.
Re:Handmade: A Community for Self-Rolled Performant Software... by burntoutfire on Monday August 17, 2020 @10:06AM (#24187327)
It's not only about being fast, it's also about being bug free. You inherit all the bugs of all of your software dependencies... That may be the reason why flagship software products such as Twitter or YouTube constantly have pretty glaring bugs.
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.
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.

[1] https://www.sqlite.org/whyc.html

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