logoalt Hacker News

pseudony • today at 1:40 PM • 1 reply • view on HN

I fail to see how this is anything but a reheat of the same old arguments.

Meanwhile, in the real world, from the author of curl:

> I know I’m repeating myself but: out of the 81 vulnerabilities we have confirmed in curl so far during 2026, 14 were the result of mistakes that most likely would have been avoided had we used a memory-safe language such as rust. That’s 17.3%.

https://daniel.haxx.se/blog/2026/11/17/actual-curl-rewrites-...

The article suffers from the usual issues - like jumping straight to the author’s favorite pet language- I absolutely would encourage fewer programs written in C++ and C (and Rust) - it is so rarely worth the risks to take on memory management by oneself. But there will always be cases, and those usually involve strict performance requirements where RAII-style memory management (i.e. Rust) is a poor fit anyway.


Replies

slopinthebag • today at 2:14 PM

17% is a significant proportion. in any serious engineering discipline, a solution which eliminates 17% of critical failure modes would be seen as a great success, instead you have people whining about how they don’t like the aesthetics of the language or it forces them to write code a bit differently.

➕ show 1 reply