Some of those OS are still being sold, like IBM i, IBM z and Unisys ClearPath MCP.
Bell Labs was forbidden to sell their research, so they offered UNIX for a symbolic price to universities (vs what other OS used to cost), alongside source code tapes and a liberal license.
This gave birth to several startups that tried to create a business using UNIX instead of the alternatives, given the authors experience with UNIX at the university, e.g. Sun and SGI among others.
Later when the US goverment dictated AT&T split, AT&T was allowed to charge for UNIX and that is when they decided to go after BSD, because 10 years later, under such conditions, UNIX was slowing eating mainframes, given the success of Sun, SGI, Aix, ....
There are no safe array or safe string libraries, because they all fall appart under scrutiny, given C's approach to secure code.
>There are no safe array or safe string libraries, because they all fall appart under scrutiny, given C's approach to secure code.
I do not understand, maybe give an example.
About the history I am not sure that proves that UNIX and C advantage was only because of that, it could be a factor but there are merits to C and UNIX that if you want to disprove you can;t just do it by mentioning that history. I mean Windows API used C.
Because since those libraries are not built-in types, you always need to convert back to a ptr and length values at some point when interoperating with other C code.
And given the lack of bounds checking, you are back at square one.
> I mean Windows API used C.
Windows API used C, because by the time Windows came around UNIX was already well established in the enterprise.
C spread outside UNIX, because many of us were using C dialects, e.g. Small-C, on personal computers when bringing work home from job/university.
> Because since those libraries are not built-in types, you always need to convert back to a ptr and length values at some point when interoperating with other C code.
And that's exactly why C wins, in my opinion. Because that means interoperability.
Storing a pointer + length pair in a fixed layout struct is bad from a normalization standpoint. They are independent data. If you don't separate them you will end up with data redundancies as soon as you have parallel arrays. If you use dynamic vectors and in C++ or similar languages and you ask yourself which is the object that you should call .size() on, that's when you notice that it's morally wrong to bundle pointer + length.
Bell Labs was forbidden to sell their research, so they offered UNIX for a symbolic price to universities (vs what other OS used to cost), alongside source code tapes and a liberal license.
This gave birth to several startups that tried to create a business using UNIX instead of the alternatives, given the authors experience with UNIX at the university, e.g. Sun and SGI among others.
Later when the US goverment dictated AT&T split, AT&T was allowed to charge for UNIX and that is when they decided to go after BSD, because 10 years later, under such conditions, UNIX was slowing eating mainframes, given the success of Sun, SGI, Aix, ....
There are no safe array or safe string libraries, because they all fall appart under scrutiny, given C's approach to secure code.