[Info-vax] VAX Macro to C conversion
Arne Vajhøj
arne at vajhoej.dk
Wed Jul 10 20:49:10 EDT 2019
On 7/10/2019 8:42 PM, Bill Gunshannon wrote:
> On 7/10/19 2:20 PM, Arne Vajhøj wrote:
>> On 7/10/2019 2:15 PM, Bill Gunshannon wrote:
>>> On 7/10/19 1:57 PM, Arne Vajhøj wrote:
>>>> On 7/10/2019 9:34 AM, Bill Gunshannon wrote:
>>>>> On 7/9/19 10:37 PM, Arne Vajhøj 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.
>>>>
>>>> Neither Fortran 77 nor UCSD Pascal are recent.
>>>>
>>>> :-)
>>>
>>> And neither is C.
>>
>> True.
>>
>> But while Fortran and Pascal fixed the problem, then C
>> did not.
>
> Actually, it did. A long time ago.
> 1983 PDP-11 Software Source Book -- Page 1395
> 1986 VAX Software Source Book -- Page 1155
>
> The Safe C Compiler.
> From Catalytix Corp.
>
> OSes supported: RSTS, RSX, RT-11, ULTRIX-11, UNIX, ULTRIX-32, VMS.
Did it have a string type?
>> Even C++ sort of fixed the problem. They added STL std::string.
>> Even though a lot of C++ code still use the C style null
>> terminated arrays.
>
> Some of us don't consider C++ to have anything to do with
> real C. :-)
Modern C++ is very different from C.
But C++ still have a lot of C compatibility baggage.
Arne
More information about the Info-vax
mailing list