TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

58 点作者 jonbaer6 个月前

11 条评论

kvemkon6 个月前
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 个月前
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 未加载
rini176 个月前
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 个月前
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 个月前
Put your money where your mouth is govt! Make memory safety a contract requirement.
评论 #42096593 未加载
npalli6 个月前
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 个月前
Didn’t the Department of Defense try to mandate Ada in the 1980s? That went nowhere.
评论 #42094631 未加载
评论 #42096575 未加载
jjgreen6 个月前
You mind your own projects, I code in what I like.
galleywest2006 个月前
&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 个月前
Sounds idiotic if you ask me.
secondcoming6 个月前
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 未加载