Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Linus Torvalds “Nothing better than C” (2012) (youtube.com)
8 points by new_user_final on April 3, 2023 | hide | past | favorite | 2 comments


He meant nothing "less worse" than C. And linux is not written in C, but in gcc extended C.

Plain C is already way too complex and rich, not on the absurd and grotesque level of c++ though: integer promotion, typedef, enum, switch should go (_generic too ofc), only one loop keyword (loop{}) should stay, no anonymous code block, only explicit compile time and runtime type casts (except maybe from/to void* and literals), explicit compile-time constant (don't rely on compiler optimization), primitive types should be sized (u8/s8/../u64/s64/f64 or ub/sb../uq/sq/fq), properly define preprocessor variable argument macros (the optional ','), well I think people get the idea.


This is likely a clip from a much older video (I think it's from ~2012)




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

Search: