News for hackers. Stuff that matters.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by tialaramex on Sunday June 21, 2026 @09:19AM (#48618743)
It's true that the borrowck is what checks you didn't screw this up in Rust, but "it's your job to never make mistakes" is just how C++ always works

If you keep const pointer to a std::string in C++ in 2016 that's exactly the same danger (of dangling pointers) as for a std::string_view in 2026, there's no change to that part.

There are no comments on this comment yet.