Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Everything besides C and C++.


C is considerably less complex than either Rust or C++.


By those that use a single compiler, on a single OS and never had to deal with UB bugs.


I regularly have used more than one compiler (Borland, cc, early Microsoft, and one or two other proprietary ones for developing drivers for embedded optics controllers), programmed for more than one OS (Linux, a RTOS flavor of Linux, MS, Apple, AIX), and have seen my fair share of UB issues.

What you're referring to (programs and behaviors) is not what I was referring to (language details).


I don't understand how implementation-defined and undefined behavior are not a part of the language semantics. They're specified in the language standard, and they determine how the program code will be compiled. They're clearly part of the language.

The pretense that C is a simple language is equivocation, in my opinion.


Hmmm, that's a fair point, since "which C" applies, but I think that's a deficiency in the standard and larger in scope than the point I intended.


There's an assumption that having fewer forms of abstraction, or fewer syntactic constructs, makes a language 'simple.' Certainly having to understand and choose between different forms of abstraction can make it difficult to use a language correctly, but the absence of that kind of complexity doesn't mean the language is necessarily simple.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: