News for hackers. Stuff that matters.
Re:Parsing can become accidentally quadratic because of sscanf by jchw on Tuesday March 02, 2021 @01:21PM (#26318493)
There’s plenty of string libraries, although ultimately no answer is perfect. It’s totally OK to use the libc string routines when learning C, but it would be good to keep in mind that it is not necessarily easy to write safe and correct software using it.

(Languages with more advanced string types and slicing mechanics are not impacted; C++, Rust, Go, etc. They do have their own issues of course.)

There are no comments on this comment yet.