TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

US government wants devs to stop using C and C++

58 pointsby jonbaer7 months ago

11 comments

kvemkon6 months ago
Discussed recently:<p>Feds: Critical Software Must Drop C&#x2F;C++ by 2026 or Face Risk (01.11.2024)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42013379">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42013379</a>
firesteelrain6 months ago
If the USG wants this then they need to start inserting it into Statements of Work then companies bidding on this type of work can assess impacts and provide a business case. It will be slow but start there. The same way Risk Management Framework works, DoD 8570, etc
评论 #42095502 未加载
评论 #42095026 未加载
rini177 months ago
Linus does not use standard C either. Linux kernel depends on -fwrapv switch (reduced UB on signed ints). Also in discussion about Rust mentioned the kernel has lots of infrastructure that almost makes C into different language.
评论 #42094274 未加载
评论 #42094614 未加载
up2isomorphism6 months ago
Rust should just build their own super safe OS, instead of nagging existing projects to adopt their practices. If they can successfully build an another successful OS it is much more convincing.
评论 #42095449 未加载
2OEH8eoCRo06 months ago
Put your money where your mouth is govt! Make memory safety a contract requirement.
评论 #42096593 未加载
npalli6 months ago
1991 Edition<p><a href="https:&#x2F;&#x2F;www.gao.gov&#x2F;products&#x2F;imtec-91-70br" rel="nofollow">https:&#x2F;&#x2F;www.gao.gov&#x2F;products&#x2F;imtec-91-70br</a><p><pre><code> Pursuant to a congressional request, GAO obtained information on the Department of Defense&#x27;s (DOD) implementation of legislation which mandated using the Ada programming language for all software development, where cost-effective.</code></pre>
评论 #42096563 未加载
hed6 months ago
Didn’t the Department of Defense try to mandate Ada in the 1980s? That went nowhere.
评论 #42094631 未加载
评论 #42096575 未加载
jjgreen6 months ago
You mind your own projects, I code in what I like.
galleywest2006 months ago
&gt; If only it were that easy to snap your fingers and magically transform your code base from C to Rust. Spoiler alert: It&#x27;s not.<p>This misses the point. The point is to start moving in that direction, not instantaneously.
bubaumba6 months ago
Sounds idiotic if you ask me.
secondcoming6 months ago
What&#x27;s really needed is an official Engineering qualification for programmers, like you leaglly have to have if you&#x27;re an Electrician or Gas Engineer, etc. Liability Insurance in case of damaging bugs.<p>Literally anyone can call themselves a Software Engineer, which one the one hand is great because it&#x27;s accessible, but also a curse in terms of making it a respected profession.
评论 #42097331 未加载
评论 #42095917 未加载
评论 #42095817 未加载
评论 #42096462 未加载
评论 #42096524 未加载