Skip to content

Comment on C++ Software Security Sins: Basic Issuesparent

Comments

Now I'm not saying its impossible for raw arrays to have nice features added in the future.

If you agree it's possible to fix this "in the future" then either you imagine some as yet non-existent technology is needed, or you have to agree it was already possible to fix this in the past and they chose not to. As I said.

Just that it's an uphill battle that has subtleties you're ignoring.

Everything in C++ has subtleties that I'm ignoring. Trivial fixes to the STL result in multi-hour wrangling, the C++ back compatibility story is a black hole nightmare, and so any new feature work comes down to who is willing to wrestle with the bear. But remember, I am not the one who came here to tell people about how "No even vaguely competent C++ programmer" would use a core language primitive.

A powerful desire to ignore these subtleties is why I don't write C++. I was actually starting to worry that I might have to learn (modern) C++ in the last few years, but Rust averts that.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.