[Info-vax] VAX Macro to C conversion
Scott Dorsey
kludge at panix.com
Wed Jul 10 10:06:12 EDT 2019
Bill Gunshannon <bill.gunshannon at gmail.com> wrote:
>
>> * no string type
>
>So what? What's so great about a string type? Fortran
>didn't have it until 77. Pascal didn't have it until UCSD.
Some of Arne's complaints about C are kind of silly, but this is a really
huge one.
If you look at CERT advisories regarding security vulnerabilities in the
past few decades, you will see that the vast majority of them are the direct
consequence of poor management of null-terminated strings.
I know, the null-terminated string thing seemed like a good idea, and easy
to graft onto C, but in the end it has been a terrible, terrible plan and
has cost us greatly.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."
More information about the Info-vax
mailing list