News for hackers. Stuff that matters.
Re:Show HN: My C compiler compiled itself by dataflow on Wednesday December 04, 2024 @08:45AM (#42317354)
I downvoted just because I thought it wasn't great advice. It makes the code incompatible with C++ compilers, and being able to compile C with C++ compiler is often useful.

Also... it felt kind of... unnecessary? to tell someone who is making a compiler how to write basic code in the language they're writing a compiler for. It almost felt like telling an overweight medical student/doctor that he should avoid eating fatty foods.

Re:Show HN: My C compiler compiled itself by Gibbon1 on Thursday December 05, 2024 @04:46AM (#42326562)
Writing C code so won't compile with a C++ compiler is gods work.

Because C++ is why C can't have nice things.