&quot;but writing safe, reliable C borders on the impossible&quot;
I wouldn&#x27;t go that far.. Just get a set of best practices and follow them. Write unit tests for every function. One of the best things about C is its <i>extremely</i> unit-testable.<p>I followed up with the vulnerability-detection software to address any difficulties in security bugs. That would provide the benefits of C with a line of defense to correct vulnerabilities.<p>&quot;what about writing some machine-learning software that detects vulnerabilities as part of the build&#x2F;release cycle&quot;