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



And this is relevant here because of?


...you're twisting my arm now, you know? Why a plain C99-to-C98 convertor it's relevant? The author explain it better in one of his blog posts: https://blogs.gnome.org/rbultje/2012/09/27/microsoft-visual-...

Quote:

"Reality is, many of these C language features are cosmetic extensions introduced in C99 that are trivially emulated using classic C89 syntax."


You just demonstrated another difference in C vs C++ mindset.

C doesn't need so many changes like C++, that is the fact and advantage. C++ introduces huge bunch of new stuff, you know add, add, add, then fix, fix, fix. At the end you get overengineered buerocratic 'give me my 5%' language.

So, in C99 some stuff are very useful like variable length arrays, restrict keywords, variadic macros... these are not cosmetic. And btw, even for that you don't need C99 to c89 converter, if you want c89 compatibility use macros. But, hey, macros are ugly, right? They are ugly but they don't make my eyes bleed as some stuff in C++.

So yes, i'm twisting your arm, sorry about that, but it needs to be twisted ;-)

P.S. Your compiler is your choice, just don't force others to use it.




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: