News for hackers. Stuff that matters.
Re:C Strings and my slow descent to madness by m463 on Thursday April 06, 2023 @03:19PM (#35473099)
> The old C std lib is, in my opinion, outdated, obsolete

...and has been since most of us ever used C.

I think one of the major failings of C was the lack of a good standard library that updated with the times.

Actually, I believe a rich standard toolbox was one of the best features of python, and helped with its success.

Re:C Strings and my slow descent to madness by pjmlp on Thursday April 06, 2023 @04:41PM (#35474093)
Which is why most applications ping back into POSIX when available, not that fixes the security issues with the standard library.
Re:C Strings and my slow descent to madness by ninkendo on Thursday April 06, 2023 @07:36PM (#35476018)
Which parts of posix? What can I #include in a posix environment to get better string handling in C?

(Or maybe I’m misinterpreting your comment?)

Re:C Strings and my slow descent to madness by pjmlp on Friday April 07, 2023 @03:21AM (#35479050)
You are misinterpreting my comment.

First part of my comment relates to C library in general, second part of my comment refers to strings and arrays, even if not explicitly.