News for hackers. Stuff that matters.
Re:Parsing can become accidentally quadratic because of sscanf by minitech on Tuesday March 02, 2021 @03:49PM (#26320457)
In theory, sure. In practice, nobody does, and length prefixes stop a format like that from being conveniently writable with a plain text editor.
Re:Parsing can become accidentally quadratic because of sscanf by CivBase on Tuesday March 02, 2021 @07:19PM (#26323125)
I work on avionics and we definitely use fixed-length text all the time. Text is often much more convenient than blobs, even when adhering to strict schemas.

Syntaxes like XML, JSON, YAML, etc have become popular for their convenience and versatility, but they do not represent the whole of what is possible with text.

Re:Parsing can become accidentally quadratic because of sscanf by renox on Thursday March 04, 2021 @08:50AM (#26342346)
You've not used enough Ada: its variable length string is so clunky that fixed sized text is used instead..