News for hackers. Stuff that matters.
Re:Google Announces KataOS and Sparrow by pjmlp on Monday October 17, 2022 @05:19AM (#33231344)
> Additionally, FORTIFY does not work on variable length arrays (like std::vector), only those which have a size known at compile time.

You use it alongside other compiler flags to enable them like _GLIBCXX_DEBUG, and FORTIFY levels.

It is not perfect, but since there are domains that won't stop using C and C++ past our lifetimes, that is better than nothing.

Re:Google Announces KataOS and Sparrow by cmeacham98 on Monday October 17, 2022 @10:32AM (#33234012)
The point being made, if we scroll way back up this thread, is that Rust (supposedly, I have maybe 30 mins of experience with it) has these protections built into the language, and doesn't require compiler flags with "DEBUG" in their name to get them.

If this is true, for new projects, such as the experimental OS we're all talking about, Rust (or any language with a similar feature) could be a better choice.