News for hackers. Stuff that matters.
Re:Relive: 50 years of C, the good, the bad and the ugly by pjmlp on Friday December 30, 2022 @09:24AM (#34185257)
It won't go away, but just like it happens with COBOL, Fortran, and PL/I, you won't see anyone dreaming of coding C until the end of their working days.

Or maybe they will, given how much consultants in those languages happen to be paid, as no one else wants to touch them.

Re:Relive: 50 years of C, the good, the bad and the ugly by pantalaimon on Friday December 30, 2022 @09:35AM (#34185364)
But coding C is actually fun!
Re:Relive: 50 years of C, the good, the bad and the ugly by Ygg2 on Friday December 30, 2022 @12:44PM (#34187483)
Sure. But debugging sure isn't. Null, null terminated strings, data races, segfaults...
Re:Relive: 50 years of C, the good, the bad and the ugly by Koshkin on Friday December 30, 2022 @01:48PM (#34188420)
No, no - debugging is actually where all the fun is!
Re:Relive: 50 years of C, the good, the bad and the ugly by Ygg2 on Friday December 30, 2022 @04:11PM (#34190167)
I'm not masochistic enough, I guess.
Re:Relive: 50 years of C, the good, the bad and the ugly by rightbyte on Friday December 30, 2022 @10:08AM (#34185685)
> you won't see anyone dreaming of coding C until the end of their working days.

I do dream about that. Just being able to tag along while some programmers learn their Xth framework as a language.

Maybe someday I might concede and move on from C89 to C99.

Re:Relive: 50 years of C, the good, the bad and the ugly by diydsp on Friday December 30, 2022 @11:13AM (#34186367)
Same here. Ive got so much experience and libraries ive written i can marshall. They've been ported across small and large platforms since before github and google. Ive been maintaining them since the 5.25" disk age. New C projects aren't precarious to me. Watching a bunch of architects with no embedded experience try to make C++ happen on microcontrollers in the other hand...
Re:Relive: 50 years of C, the good, the bad and the ugly by KerrAvon on Friday December 30, 2022 @11:57AM (#34186910)
If I may ask, what projects do you work on where C89 is still useful? Embedded ROMs for tiny processors in some niche segment?
Re:Relive: 50 years of C, the good, the bad and the ugly by rightbyte on Friday December 30, 2022 @02:17PM (#34188785)
Ye well Linux is moving from GNU C89 to GNU C11 so maybe it is time for me to move on.

I don't think there is any reason to choose C89 over C11 other than fear of new compiler bugs and compatibility with old compilers?

Re:Relive: 50 years of C, the good, the bad and the ugly by KerrAvon on Friday December 30, 2022 @11:56AM (#34186896)
C has enough actual fans that I bet it never really goes away, but it won’t be useable in professional contexts after a while other than for maintenance, because people outside tech will start to call bullshit on the EULA liability shield.
Re:Relive: 50 years of C, the good, the bad and the ugly by lelanthran on Friday December 30, 2022 @02:33PM (#34188988)
> C has enough actual fans that I bet it never really goes away, but it won’t be useable in professional contexts after a while other than for maintenance, because people outside tech will start to call bullshit on the EULA liability shield.

That's an extraordinary claim indeed; if people outside tech were going to call bullshit on EULAs as a liability shield, they would've done so in the last 50 years of software sales.

Reliability or the lack thereof has never been an impediment to some piece of software getting popular, but to me, you appear to believe that people want more reliability from software than they have been getting thus far.

Your belief is at odds with reality.

Re:Relive: 50 years of C, the good, the bad and the ugly by pjmlp on Friday December 30, 2022 @05:24PM (#34190801)
They already started with small steps.

- Return of goods in digital stores

- Warranties in consulting projects, requiring free of charge fixes up to one year

- Cybersecurity bills

It will only get better from now onwards.