News for hackers. Stuff that matters.
Re:C Isn't a Programming Language Anymore by pencilguin on Monday November 07, 2022 @11:36PM (#33515902)
C++ did this, what, 40 years ago? Then V, Zig, now D. I agree, in ten years most compilers and even interpreters will do it.
Re:C Isn't a Programming Language Anymore by WalterBright on Monday November 07, 2022 @11:42PM (#33515929)
C++ did it the other way around. It added C++ to a C compiler.
Re:C Isn't a Programming Language Anymore by pencilguin on Tuesday November 08, 2022 @01:08AM (#33516361)
But it didn't. In very few cases was a C compiler extended to compile C++. Instead, a C++ compiler just has to know how to compile C, and to link with C objects compiled separately.
Re:C Isn't a Programming Language Anymore by WalterBright on Tuesday November 08, 2022 @12:36PM (#33521732)
But it did. I wrote the first native C++ compiler, by extending the Zortech C compiler.
Re:C Isn't a Programming Language Anymore by pencilguin on Tuesday November 08, 2022 @06:35PM (#33525736)
That does not contradict my statement.
Re:C Isn't a Programming Language Anymore by Imperatorn on Tuesday November 08, 2022 @01:03PM (#33522079)
That's a less correct description than what Walter gave