News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by mcguire on Friday August 18, 2023 @07:28PM (#37183505)
The short answer is that C makes it easy to do things that you probably shouldn't ought to be doing. (The the answer to the opposite, "what work is C appropriate for?" is systems and embedded stuff, where doing-things-you-probably-shouldn't is largely the name of the game.)

Another answer is that C doesn't have much in the way of guardrails; in a world where programmer time is much more expensive than machine time, guardrails make programming much faster.

Re:C and C++ Prioritize Performance over Correctness by memefrog on Friday August 18, 2023 @08:10PM (#37183918)
Every language makes it easy to do things that you probably shouldn't be doing. I don't know how many times I've seen naive accidentally-quadratic string handling code in high level languages, for example.

Your answer is just buzzword after buzzword. What makes C bad for writing applications?

Re:C and C++ Prioritize Performance over Correctness by mcguire on Saturday August 19, 2023 @04:44PM (#37192986)
SIGSEGV. Or those times when you really wish you had gotten a SIGSEGV.
Re:C and C++ Prioritize Performance over Correctness by memefrog on Monday August 21, 2023 @01:25AM (#37205764)
Write correct code.