危及国家安全,这次C++码农真要完蛋了

还珠楼主
楼主 (北美华人网)
今年1月 CISA(Cybersecurity and Infrastructure Security Agency)发布了一份 Product Security Bad Practice提到
The development of new product lines for use in service of critical infrastructure or NCFs in a memory-unsafe language (e.g., C or C++) where readily available alternative memory-safe languages could be used is dangerous and significantly elevates risk to national security, national economic security, and national public health and safety.
A
AprilPearl
完啥,C++码农转Java基本是降维打击
y
yanhren
没看出来为啥就完蛋了,会c++的就没学过其他的语言吗?
还珠楼主
AprilPearl 发表于 2025-05-21 18:07
完啥,C++码农转Java基本是降维打击

但是公司的java职位,人家更倾向要现成经验的,一个10年java码农比一个10年c++码农更符合职位需求
u
usayso
c碾压c++
s
shenandoah1
哈哈,这是不是说Linux要完蛋了,大部分都是C代码。
f
funnyorno
经常有新警察甚至是观念过时的老码农会个C/C++鄙视其他语言跟孔乙己回字几个写法一样,贻笑大方。高薪的互联网码农很少直接用这两个语言的。
r
realsimplejill
AprilPearl 发表于 2025-05-21 18:07
完啥,C++码农转Java基本是降维打击

哈哈😆确实!我们读大学那会儿,语言课顺序是C,同时学机器语言和汇编,C++靠后,最后才是Java,越学越容易。
d
drower
还珠楼主 发表于 2025-05-21 18:05
今年1月 CISA(Cybersecurity and Infrastructure Security Agency)发布了一份 Product Security Bad Practice提到
The development of new product lines for use in service of critical infrastructure or NCFs in a memory-unsafe language (e.g., C or C++) where readily available alternative memory-safe languages could be used is dangerous and significantly elevates risk to national security, national economic security, and national public health and safety.

Google: While Java is often described as platform-independent due to the Java Virtual Machine (JVM), the JVM itself, which forms the lower layer of the Java ecosystem, is typically implemented in C and C++. This means that when Java code is executed, it ultimately relies on C/C++ code at the level of the JVM to interact with the underlying operating system and hardware. C and C++ are used because they offer the necessary control and performance for system-level tasks.
y
yayapig
shenandoah1 发表于 2025-05-21 18:20
哈哈,这是不是说Linux要完蛋了,大部分都是C代码。

Windows 底层没有C ?
还珠楼主
drower 发表于 2025-05-21 18:22
Google: While Java is often described as platform-independent due to the Java Virtual Machine (JVM), the JVM itself, which forms the lower layer of the Java ecosystem, is typically implemented in C and C++. This means that when Java code is executed, it ultimately relies on C/C++ code at the level of the JVM to interact with the underlying operating system and hardware. C and C++ are used because they offer the necessary control and performance for system-level tasks.

你说这些我懂,问题是联邦政府配合这个报告还有个给各公司C-suite executives们看的白皮书,直接把C/C++放火上烤,以后C++职位会越来越少了
第三只熊猫
所有的操作系统,从手机到平板到个人电脑,都是c。最主要的,所有的加密软件都是c写的。 另外c程序怎么影响public health的?
y
yayapig
还珠楼主 发表于 2025-05-21 18:05
今年1月 CISA(Cybersecurity and Infrastructure Security Agency)发布了一份 Product Security Bad Practice提到
The development of new product lines for use in service of critical infrastructure or NCFs in a memory-unsafe language (e.g., C or C++) where readily available alternative memory-safe languages could be used is dangerous and significantly elevates risk to national security, national economic security, and national public health and safety.

这个消息已经有很久了. 问题不在于语言, 在于用这些语言的人. Cybersecurity 现在制定各种规则就是为了保证无论人多笨, 都不会影响到系统安全. 然而然而这些治标不治本, 搞出一大堆protocol, 人不行还是会出问题. 美国政府机构的网络安全就是笑话, 随便找找都是漏洞, 奇怪为什么没有大规模针对州,县这一级的网络攻击.
S
SeaTac007
第一,换个语言就行了;第二也不要有啥优越感的,Java程序员随时用无数的开源framework只是怼死你——看谁能在5分钟内完成一个能上prod的server?
c
claireliu
没有c++哪来的Java,那jvm哪个语言写的?再说现在不得ai了吗,啥语言都无所谓,我把spec扔进去,出来的的code直接使好用的很啊。
m
mvdk
正黄旗出身才能写?
Y
Yourdad
你不会觉得码农只会一种语言吧?语言只是工具 c c++ java go python kotlin 轮番上阵的