News for hackers. Stuff that matters.
Re:Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk by jandrewrogers on Thursday October 31, 2024 @11:51PM (#42013905)
I think it is important to recognize that this will only apply to generic normal software, which is already mostly written in memory-safe languages for government e.g. Java. Data infrastructure with state-of-the-art scale, performance, and workload requirements will continue to be written in C++ for the foreseeable future, largely because there is no alternative. Maybe Zig some day?

A pattern I’ve seen (and used myself) is that the heavy core engines are written in C++ for performance and maintainability but skinned with a Rust API wrapper. Rust is closer to a “better Java” than a C++ replacement for extreme systems software.

Re:Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk by jrpelkonen on Saturday November 02, 2024 @03:04PM (#42028423)
Calling Rust a "better Java" and not a credible alternative for C++ for "extreme systems software" without further detail is an opinion that I find hard to take seriously. So I'd like to understand your viewpoint better. Could you elaborate on what aspects in C++ specifically make it so much better suited for these tasks from performance and maintainability perspective?