News for hackers. Stuff that matters.
Re:The earliest versions of the first C compiler known to exist by bluetomcat on Monday March 24, 2025 @09:56AM (#43461169)
The perceived complexity from a semantic standpoint comes from the weakly-typed nature of the language. When the operands of an expression have different types, implicit promotions and conversions take place. This can be avoided by using the appropriate types in the first place. Modern compilers have warning flags that can spot such dodgy conversions.

The rest of the complexity stems from the language being a thin layer over a von Neumann abstract machine. You can mess up your memory freely, and the language doesn’t guarantee anything.

Re:The earliest versions of the first C compiler known to exist by drob518 on Monday March 24, 2025 @10:02AM (#43461231)
Exactly. C started off as high level assembly language. That was both a strength, at first, and a weakness, later on.
Re:The earliest versions of the first C compiler known to exist by codr7 on Monday March 24, 2025 @08:38PM (#43466940)
It's still both its core strength and core weakness, which is why it's not going anywhere.