3 ms·
See PL/I, NEWP, JOVIAL, predating C for a decade. Also even with 255 limitation, there could be optimizations in place with struct/union, similar to small stri
by pjmlp 1y ago
See PL/I, NEWP, JOVIAL, predating C for a decade.
Also even with 255 limitation, there could be optimizations in place with struct/union, similar to small string optimization done in C++ and modern languages.
However even considering this was a non-starter in PDP-7/11, there is no excuse why since 1989, WG14 never considered adding capabilities to the standard library similar to SDS, or language improvements like fat pointers (There was even an attempt proposal from Ritchie himself).
They had 36 years to improve this.